]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix association to 20/40 MHz VHT networks
authorJohannes Berg <johannes.berg@intel.com>
Thu, 27 Feb 2014 19:47:53 +0000 (20:47 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 27 Feb 2014 19:53:01 +0000 (20:53 +0100)
commitbf30e23f88e736c7eb47cdb36a603244a8f2cd99
treef17283867f636cb381af7da0e042c9960736809d
parentbdcf962f3667bdec2c12b547360a79bb337a974e
mac80211: fix association to 20/40 MHz VHT networks

When a VHT network uses 20 or 40 MHz as per the HT operation
information, the channel center frequency segment 0 field in
the VHT operation information is reserved, so ignore it.

This fixes association with such networks when the AP puts 0
into the field, previously we'd disconnect due to an invalid
channel with the message
wlan0: AP VHT information is invalid, disable VHT

Cc: stable@vger.kernel.org
Fixes: 03ddca73962cf ("mac80211: support VHT association")
Reported-by: Tim Nelson <tim.l.nelson@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c