ath10k: save/restore pci config space properly
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 2 Mar 2015 12:22:14 +0000 (13:22 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sat, 7 Mar 2015 08:07:24 +0000 (10:07 +0200)
commit9ff4be96ebd6e2a8d3bb18362e8868ed5bf40161
treead797bfd52331dda4bcd824f7bbfb5f427f234e0
parent320e14b8db51a2d635897d521db4e5c79c3a8390
ath10k: save/restore pci config space properly

The check was't really necessary and couldn't even
work to begin with because pci_restore_state()
restores only first 64 bytes of PCI configuration
space.

Actually the PCI subsystem takes care of this so
there's no need for explicit calls to save PCI
state in ath10k.

This is necessary for future WoWLAN support.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c