ath10k: fix some pci wake/sleep issues
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 2 Mar 2015 12:22:13 +0000 (13:22 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sat, 7 Mar 2015 08:07:17 +0000 (10:07 +0200)
commit320e14b8db51a2d635897d521db4e5c79c3a8390
treec09aa1f6864f2c17cfaf995dbae03778d18f6ae2
parent548462133d98e5da93fd6b4c9edc6bf5c87dfc92
ath10k: fix some pci wake/sleep issues

In some cases the device ends up sleeping while
ath10k didn't expect it to leading to reading
garbage from registers, e.g. when shared irqs are
used and the driver is in powered down state.

This effectively makes the device remain awake all
the time even when all interfaces are down.

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