]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: don't set mesh peer ht caps if ht disabled
authorThomas Pedersen <thomas@cozybit.com>
Thu, 19 Apr 2012 02:24:13 +0000 (19:24 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Apr 2012 19:34:07 +0000 (15:34 -0400)
commit603878ba1d438c9a23ed01dcdf242c318375037c
tree4d1e496a3a466aa73a620ec54bbb309d5ffe0e6f
parent4a1c33a370accc951aa259240f433863df1ca152
mac80211: don't set mesh peer ht caps if ht disabled

Blindly setting ht caps on a mesh peer's station entry would result in
MCS rates being used by the rate control algorithm even if no ht had
been configured. Fix this by checking the channel type before assigning
ht capabilites.

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