mwifiex: check for NL80211_SCAN_FLAG_RANDOM_ADDR during hidden SSID scan
authorGanapathi Bhat <gbhat@marvell.com>
Thu, 10 Aug 2017 12:41:26 +0000 (18:11 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 17 Aug 2017 06:59:40 +0000 (09:59 +0300)
commit89001c1c8dc32698112df0119ad5c632405892ca
tree496c03c85a81753b7f4c63538b4dc7c5e4c2ae13
parent2af2c2c77e5a89a02f508571c3994d9e78f9013d
mwifiex: check for NL80211_SCAN_FLAG_RANDOM_ADDR during hidden SSID scan

At the end of user scan request, driver will perform an active
scan for hidden SSIDs in passive channels. While doing this,
driver unconditionally adding random_mac in scan command, which
is no expected. It should add random_mac only if scan_request
has NL80211_SCAN_FLAG_RANDOM_ADDR flag set.

Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/scan.c