From: Mohammed Shafi Shajakhan <moham...@qca.qualcomm.com> Hardware needs to be AWAKE and should maintain association with the AP to process WoW triggers any time
Cc: Senthil Balasubramanian <senth...@qca.qualcomm.com> Cc: Rajkumar Manoharan <rmano...@qca.qualcomm.com> Cc: vadi...@qca.qualcomm.com Signed-off-by: Mohammed Shafi Shajakhan <moham...@qca.qualcomm.com> --- drivers/net/wireless/ath/ath9k/pci.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/pci.c b/drivers/net/wireless/ath/ath9k/pci.c index aa0e83a..87b89d5 100644 --- a/drivers/net/wireless/ath/ath9k/pci.c +++ b/drivers/net/wireless/ath/ath9k/pci.c @@ -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. -- 1.7.0.4 _______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel