forked from Minki/linux
mac80211: minstrel_ht: initialize rates selection
Initialize {mp,mi}->{max_tp_rate,max_tp_rate2,max_prob_rate} in minstrel_ht's rate_init and rate_update. Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
c2eb5b0f34
commit
a36473621c
@ -907,6 +907,9 @@ minstrel_ht_update_caps(void *priv, struct ieee80211_supported_band *sband,
|
||||
if (!n_supported)
|
||||
goto use_legacy;
|
||||
|
||||
/* init {mi,mi->groups[*]}->{max_tp_rate,max_tp_rate2,max_prob_rate} */
|
||||
minstrel_ht_update_stats(mp, mi);
|
||||
|
||||
return;
|
||||
|
||||
use_legacy:
|
||||
|
Loading…
Reference in New Issue
Block a user