mac80211: disable 80+80/160 in VHT correctly
authorJohannes Berg <johannes.berg@intel.com>
Mon, 24 Nov 2014 15:51:33 +0000 (16:51 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 24 Nov 2014 15:55:28 +0000 (16:55 +0100)
The supported bandwidth field is a two-bit field, not a bitmap,
so treat it accordingly when disabling 80+80 or 160 MHz.

Note that we can only advertise "80+80 and 160" or "160", not
"80+80" by itself, so disabling 160 also disables 80+80.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found