ath9k: Remove ath9k_rate_table
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / ath9k / main.c
index 11d7bee2fda059a046492daaf306f3ac63f45768..e86bcd284148787293dfb53475a552c0aa2da6d4 100644 (file)
@@ -780,6 +780,8 @@ static int ath_attach(u16 devid, struct ath_softc *sc)
                BIT(NL80211_IFTYPE_ADHOC);
 
        hw->queues = 4;
+       hw->max_rates = 4;
+       hw->max_rate_tries = ATH_11N_TXMAXTRY;
        hw->sta_data_size = sizeof(struct ath_node);
        hw->vif_data_size = sizeof(struct ath_vap);