]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commite76781e48f969e044d318485274b9574f1ccc3dd
tree4d1e496a3a466aa73a620ec54bbb309d5ffe0e6f
parentf743ff4907fa5bc2b460f48ace831a560806a9fb
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