projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
478622e
)
mac80211: don't reinit rate control when mesh sta exists
author
Helmut Schaa
<helmut.schaa@googlemail.com>
Tue, 27 Nov 2012 17:03:13 +0000
(18:03 +0100)
committer
Johannes Berg
<johannes.berg@intel.com>
Wed, 28 Nov 2012 13:03:18 +0000
(14:03 +0100)
This fixes some unintended resets of the rate control statistics
when minstrel_ht is used resulting in non-optimal throughput on mesh
links.
Tested-by: Emanuel Taube <emanuel.taube@gmail.com>
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_plink.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/mesh_plink.c
b/net/mac80211/mesh_plink.c
index ca52dfdd5375cdb8a63049410a1a81b3c715a685..4b274e9c91a5f19c526c9c91d290c9fc574d4098 100644
(file)
--- a/
net/mac80211/mesh_plink.c
+++ b/
net/mac80211/mesh_plink.c
@@
-391,7
+391,8
@@
static struct sta_info *mesh_peer_init(struct ieee80211_sub_if_data *sdata,
sta->ch_width = chandef.width;
}
- rate_control_rate_init(sta);
+ if (insert)
+ rate_control_rate_init(sta);
spin_unlock_bh(&sta->lock);
if (insert && sta_info_insert(sta))