mac80211: oce: enable receiving of bcast probe resp
authorRoee Zamir <roee.zamir@intel.com>
Sun, 6 Aug 2017 08:38:23 +0000 (11:38 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 21 Sep 2017 09:42:00 +0000 (11:42 +0200)
commit40b0bd24973487272167a09db040a70c053bedbe
tree94013df732e7b3c9570fb25db3db774b3a5a3dfc
parent2d23d0736e3a4a0fdb92b8e46ea476639f16aae8
mac80211: oce: enable receiving of bcast probe resp

One of OCE's optimizations is acception of broadcast probe responses.
Accept broadcast probe responses but don't set
NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP. Because a device's firmware
may filter out the broadcast probe resp - drivers should set this flag.

Signed-off-by: Roee Zamir <roee.zamir@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
[johannes: make accepting broadcast conditional on the nl80211 scan
 flag that was added for that specific purpose]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/scan.c