aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath9k/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c
index 11d7bee2fda0..e86bcd284148 100644
--- a/drivers/net/wireless/ath9k/main.c
+++ b/drivers/net/wireless/ath9k/main.c
@@ -780,6 +780,8 @@ static int ath_attach(u16 devid, struct ath_softc *sc)
780 BIT(NL80211_IFTYPE_ADHOC); 780 BIT(NL80211_IFTYPE_ADHOC);
781 781
782 hw->queues = 4; 782 hw->queues = 4;
783 hw->max_rates = 4;
784 hw->max_rate_tries = ATH_11N_TXMAXTRY;
783 hw->sta_data_size = sizeof(struct ath_node); 785 hw->sta_data_size = sizeof(struct ath_node);
784 hw->vif_data_size = sizeof(struct ath_vap); 786 hw->vif_data_size = sizeof(struct ath_vap);
785 787