projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2eb5b0
)
mac80211: minstrel_ht: initialize rates selection
author
Karl Beldan
<karl.beldan@rivierawaves.com>
Thu, 18 Apr 2013 12:26:21 +0000
(14:26 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Mon, 22 Apr 2013 13:47:12 +0000
(15:47 +0200)
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>
net/mac80211/rc80211_minstrel_ht.c
patch
|
blob
|
history
diff --git
a/net/mac80211/rc80211_minstrel_ht.c
b/net/mac80211/rc80211_minstrel_ht.c
index a23a5cff0af54760cbd9cc51e249e966c1073389..a8e979e8f6b5e3262406d4a7ce68182fb1c3d72c 100644
(file)
--- a/
net/mac80211/rc80211_minstrel_ht.c
+++ b/
net/mac80211/rc80211_minstrel_ht.c
@@
-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: