mwifiex: do not use random MAC for pre-association scanning
authorGanapathi Bhat <gbhat@marvell.com>
Thu, 10 Aug 2017 12:41:25 +0000 (18:11 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 17 Aug 2017 06:59:39 +0000 (09:59 +0300)
commit2af2c2c77e5a89a02f508571c3994d9e78f9013d
tree41c5e9be6a124be53f5cb58a62f8f90df1fb1c2e
parent3d6b2d4e36e5007ea21c95451edb800203ff9015
mwifiex: do not use random MAC for pre-association scanning

Driver should use random MAC address only if the scan is
requested by user(provided NL80211_SCAN_FLAG_RANDOM_ADDR
is set in scan request). It should not be used for a scan
performed before association.

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