]> 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)
commit4b59ee4b1e8c22a6a0fa480d9d0988edfb367c41
tree4d1e496a3a466aa73a620ec54bbb309d5ffe0e6f
parentbb7993bc8171810b17d37197a2e03e79dcc8ba06
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