ath10k: set probe request oui during driver start
authorRakesh Pillai <pillair@codeaurora.org>
Tue, 2 Oct 2018 18:03:13 +0000 (23:33 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 13 Oct 2018 17:17:08 +0000 (20:17 +0300)
commitf1157695c527d4ee949ac83f743f80107751a70c
tree7adc3e921d93b6da77fa37ae4a14301d9cb76687
parent34e141eea7dd8525dd1ef7a925459e455b4d307f
ath10k: set probe request oui during driver start

Currently the wmi command for setting probe request
oui, needed for mac randomization, is sent during
the mac register. At this time, during the driver
init the wmi has already been detached. This can
cause unexpected behavior since the firmware is
already down and the wmi has been detached.

Send the wmi command for setting probe request
oui during the driver start. This will make sure
that the firmware is started and wmi is initialized
before we send this command.

Tested HW: WCN3990
Tested FW: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1

Fixes: 60e1d0fb290197fe505dff6e4e3b7e4d258dbf60
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/mac.c