mac80211: don't reinit rate control when mesh sta exists
authorHelmut Schaa <helmut.schaa@googlemail.com>
Tue, 27 Nov 2012 17:03:13 +0000 (18:03 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 28 Nov 2012 13:03:18 +0000 (14:03 +0100)
commit59cf1d65f7d69739a29a16fe678ebc4e1215e9c0
tree3e5f44d27270731d5f9fdcb1305bc1ef74a9da33
parent478622e81c735ecd83d45ee6be3fd45d500aaa3b
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
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