mac80211: skip disabled channels in VHT check
authorArik Nemtsov <arik@wizery.com>
Thu, 1 Jan 2015 11:43:17 +0000 (13:43 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 6 Jan 2015 13:59:07 +0000 (14:59 +0100)
commitfa44b988d2da58334ecbcf3e00f9acccbdeace6c
tree758d5be6e81e45f87a94bb0fdfa3bff8c32ff309
parent71b836eca7f380fbd4c025f8c4371f9a071bc909
mac80211: skip disabled channels in VHT check

The patch "40a11ca mac80211: check if channels allow 80 MHz for VHT
probe requests" considered disabled channels as VHT enabled, and
mistakenly sent out probe-requests with the VHT IE.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c