]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac80211: insert mesh peer after init
authorThomas Pedersen <thomas@cozybit.com>
Thu, 26 Apr 2012 22:01:06 +0000 (15:01 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Apr 2012 20:07:24 +0000 (16:07 -0400)
commit72e8074d1acf739e9ff0e61d1b9d911472f963da
tree0420a953bc3678fbe4b6d96b3346070f56709f76
parent070a4bba10c654252f0686cfb9d30a4e0e8ee9b0
mac80211: insert mesh peer after init

Drivers need the station rate info when inserting a new sta_info. The
patch "mac80211: refactor mesh peer initialization" wrongly assumed the
rate info could be applied after insertion. After further review, this
is clearly not the case.

This fixes a regression where HT parameters were not applied before
inserting the sta_info, causing performance degradation.

Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_plink.c