Commit 59cf1d65 authored by Helmut Schaa's avatar Helmut Schaa Committed by Johannes Berg

mac80211: don't reinit rate control when mesh sta exists

This fixes some unintended resets of the rate control statistics
when minstrel_ht is used resulting in non-optimal throughput on mesh
Tested-by: default avatarEmanuel Taube <>
Signed-off-by: default avatarHelmut Schaa <>
Signed-off-by: default avatarJohannes Berg <>
parent 478622e8
......@@ -391,7 +391,8 @@ static struct sta_info *mesh_peer_init(struct ieee80211_sub_if_data *sdata,
sta->ch_width = chandef.width;
if (insert)
if (insert && sta_info_insert(sta))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment