]> git.ipfire.org Git - people/arne_f/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Mar 2014 04:38:11 +0000 (21:38 -0700)
commitc02d9a9697134e6fd6527c33ae0d78a8faad6e41
tree15c50661d5b4c128aa7e69394c4e2c15565a35bd
parente713fe3d4bde100807377a2699587d05721f909b
mac80211: fix association to 20/40 MHz VHT networks

commit cb664981607a6b5b3d670ad57bbda893b2528d96 upstream.

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

Fixes: f2d9d270c15ae ("mac80211: support VHT association")
Reported-by: Tim Nelson <tim.l.nelson@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/mlme.c