mac80211: check if channels allow 80 MHz for VHT probe requests
authorJohannes Berg <johannes.berg@intel.com>
Mon, 24 Nov 2014 14:49:44 +0000 (15:49 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 25 Nov 2014 10:05:33 +0000 (11:05 +0100)
commit40a11ca83de91f6bb2306580e7732ad3d97f201a
tree7328cc826ce65a33bf84edc0d8880fc33401338c
parentea9eba6a8b6b5d7a48b902d92dc2adb63b4371c0
mac80211: check if channels allow 80 MHz for VHT probe requests

If there are no channels allowing 80 MHz to be used, then the
station isn't really VHT capable even if the driver and device
support it in general. In this case, exclude the VHT capability
IE from probe request frames.

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