aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc_drv_init.c3
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
index 680cd369f144..93f3f615218b 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
@@ -714,7 +714,8 @@ static void ath9k_set_hw_capab(struct ath9k_htc_priv *priv,
714 IEEE80211_HW_HAS_RATE_CONTROL | 714 IEEE80211_HW_HAS_RATE_CONTROL |
715 IEEE80211_HW_RX_INCLUDES_FCS | 715 IEEE80211_HW_RX_INCLUDES_FCS |
716 IEEE80211_HW_SUPPORTS_PS | 716 IEEE80211_HW_SUPPORTS_PS |
717 IEEE80211_HW_PS_NULLFUNC_STACK; 717 IEEE80211_HW_PS_NULLFUNC_STACK |
718 IEEE80211_HW_NEED_DTIM_PERIOD;
718 719
719 hw->wiphy->interface_modes = 720 hw->wiphy->interface_modes =
720 BIT(NL80211_IFTYPE_STATION) | 721 BIT(NL80211_IFTYPE_STATION) |
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index bd451c243689..b2983ce19dfb 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -642,7 +642,8 @@ void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
642 IEEE80211_HW_SUPPORTS_PS | 642 IEEE80211_HW_SUPPORTS_PS |
643 IEEE80211_HW_PS_NULLFUNC_STACK | 643 IEEE80211_HW_PS_NULLFUNC_STACK |
644 IEEE80211_HW_SPECTRUM_MGMT | 644 IEEE80211_HW_SPECTRUM_MGMT |
645 IEEE80211_HW_REPORTS_TX_ACK_STATUS; 645 IEEE80211_HW_REPORTS_TX_ACK_STATUS |
646 IEEE80211_HW_NEED_DTIM_PERIOD;
646 647
647 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_HT) 648 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_HT)
648 hw->flags |= IEEE80211_HW_AMPDU_AGGREGATION; 649 hw->flags |= IEEE80211_HW_AMPDU_AGGREGATION;