mac80211: handle wide bandwidth channel switch
authorJohannes Berg <johannes.berg@intel.com>
Thu, 28 Mar 2013 09:44:18 +0000 (10:44 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Apr 2013 13:29:46 +0000 (15:29 +0200)
commitcd64f2a9b4a9eb055e4adc14b559055775b1b62f
tree5a3dd833390e9b349e16a14aafaebb4f5c0aaca2
parentb2e506bfc4d752b68a0ccaae1e977898263eba4c
mac80211: handle wide bandwidth channel switch

Parse and react to the wide bandwidth channel switch element
in beacons/action frames. Finding the element was done in a
previous patch (it has different positions in beacons/action
frames), now handle it. If there's something wrong with it
simply disconnect.

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