ath9k: do not disable hardware while wow is enabled
PATCH v4 10/10 ath9k: do not disable hardware while wow is enabled
From: Mohammed Shafi Shajakhan <[email protected]>
Hardware needs to be AWAKE and should maintain association with the AP to process WoW triggers any time
Cc Senthil Balasubramanian <[email protected]>
Cc Rajkumar Manoharan <[email protected]>
Cc vadivel at qca.qualcomm.com
Signed-off-by Mohammed Shafi Shajakhan <[email protected]>
--- drivers/net/wireless/ath/ath9k/pci.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/net/wireless/ath/ath9k/pci.c +3 -0
@@ -313,6 +313,9 @@ static int ath_pci_suspend(struct device *device)struct ieee80211_hw *hw =pci_get_drvdata (pdev);struct ath_softc *sc = hw->priv; +if (sc->wow_enabled) +return 0 ; +/* The device has to be moved to FULLSLEEP forcibly. * Otherwise the chip never moved to full sleep, * when no interface is up.
Signature · 1 line
1.7.0.4