diff options
Diffstat (limited to 'drivers/net')
-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 6e93a53c5e32..dede9a9aa689 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -1979,6 +1979,9 @@ static int ath9k_ampdu_action(struct ieee80211_hw *hw, | |||
1979 | case IEEE80211_AMPDU_RX_STOP: | 1979 | case IEEE80211_AMPDU_RX_STOP: |
1980 | break; | 1980 | break; |
1981 | case IEEE80211_AMPDU_TX_START: | 1981 | case IEEE80211_AMPDU_TX_START: |
1982 | if (!(sc->sc_flags & SC_OP_TXAGGR)) | ||
1983 | return -EOPNOTSUPP; | ||
1984 | |||
1982 | ath9k_ps_wakeup(sc); | 1985 | ath9k_ps_wakeup(sc); |
1983 | ret = ath_tx_aggr_start(sc, sta, tid, ssn); | 1986 | ret = ath_tx_aggr_start(sc, sta, tid, ssn); |
1984 | if (!ret) | 1987 | if (!ret) |