diff options
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index d2348a5a7809..a9c5ae75277e 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -1843,6 +1843,9 @@ static void ath9k_sta_notify(struct ieee80211_hw *hw, | |||
1843 | struct ath_softc *sc = hw->priv; | 1843 | struct ath_softc *sc = hw->priv; |
1844 | struct ath_node *an = (struct ath_node *) sta->drv_priv; | 1844 | struct ath_node *an = (struct ath_node *) sta->drv_priv; |
1845 | 1845 | ||
1846 | if (!(sc->sc_flags & SC_OP_TXAGGR)) | ||
1847 | return; | ||
1848 | |||
1846 | switch (cmd) { | 1849 | switch (cmd) { |
1847 | case STA_NOTIFY_SLEEP: | 1850 | case STA_NOTIFY_SLEEP: |
1848 | an->sleeping = true; | 1851 | an->sleeping = true; |