ath9k: Check MCI PowerSave state
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Thu, 5 Feb 2015 04:52:41 +0000 (10:22 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 26 Feb 2015 12:58:39 +0000 (14:58 +0200)
commitb39adc63bf0c014b0582c191a83272ea7f92ee8a
tree0dfa6897b601f2f2d8d5049b6bfd1b5feec29667
parentff6f0c036b3271f080b0c585e6859d52aac2e0e0
ath9k: Check MCI PowerSave state

The power save state of MCI has to be disabled
when enabling WoW sleep, check this properly.
ar9003_mci_state() doesn't handle MCI_STATE_GET_WLAN_PS_STATE
right now, but this will be done later when proper
support for MCI/PS is added.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/ar9003_mci.h
drivers/net/wireless/ath/ath9k/ar9003_wow.c