]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: unset peer's HT 40 MHz support if not usable
authorJohannes Berg <johannes.berg@intel.com>
Fri, 28 Dec 2012 14:01:57 +0000 (15:01 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:45 +0000 (13:01 +0100)
commitad288326898b7da8663deea220b93c1d14f25104
tree63fc940e421d5585fc9f63c89ccdb9c4a0878d29
parentda05a508d9fe249f9424d09a7eaaade248e03305
mac80211: unset peer's HT 40 MHz support if not usable

When an interface is configured to a 20 MHz channel
and the device as well as the peer are 40 MHz capable
the HT capabilities of the peer are not restricted to
20 MHz, even though they're supposed to be restricted
to the currently possible capabilities.

Unset the 40 MHz HT capability bits in this case.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ht.c