mac80211: update to wireless-testing 2010-04-09, add work-in-progress ar9300 patches
[openwrt.git] / package / mac80211 / patches / 540-ath9k_use_minstrel.patch
1 --- a/drivers/net/wireless/ath/ath9k/init.c
2 +++ b/drivers/net/wireless/ath/ath9k/init.c
3 @@ -661,7 +661,11 @@ void ath9k_set_hw_capab(struct ath_softc
4 hw->sta_data_size = sizeof(struct ath_node);
5 hw->vif_data_size = sizeof(struct ath_vif);
6
7 +#ifdef ATH9K_USE_MINSTREL
8 + hw->rate_control_algorithm = "minstrel_ht";
9 +#else
10 hw->rate_control_algorithm = "ath9k_rate_control";
11 +#endif
12
13 if (test_bit(ATH9K_MODE_11G, sc->sc_ah->caps.wireless_modes))
14 hw->wiphy->bands[IEEE80211_BAND_2GHZ] =
This page took 0.058626 seconds and 5 git commands to generate.