aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/xmit.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath9k/xmit.c')
-rw-r--r--drivers/net/wireless/ath9k/xmit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/xmit.c b/drivers/net/wireless/ath9k/xmit.c
index fc52f61ef3ed..5cf83111e1a7 100644
--- a/drivers/net/wireless/ath9k/xmit.c
+++ b/drivers/net/wireless/ath9k/xmit.c
@@ -760,7 +760,8 @@ static void ath_tx_complete_aggr_rifs(struct ath_softc *sc,
760 * when perform internal reset in this routine. 760 * when perform internal reset in this routine.
761 * Only enable reset in STA mode for now. 761 * Only enable reset in STA mode for now.
762 */ 762 */
763 if (sc->sc_ah->ah_opmode == ATH9K_M_STA) 763 if (sc->sc_ah->ah_opmode ==
764 NL80211_IFTYPE_STATION)
764 needreset = 1; 765 needreset = 1;
765 } 766 }
766 } else { 767 } else {