diff options
| author | 2017-09-18 12:25:02 +0530 | |
|---|---|---|
| committer | 2017-09-20 15:47:53 +0300 | |
| commit | e251a882c0bae39d3d31efe993e977104605a9b3 (patch) | |
| tree | ff58e7b29d8fc513512d1004a4b4587a76e24c43 /kernel | |
| parent | mwifiex: make const arrays static to shink object code size (diff) | |
mwifiex: avoid storing random_mac in private
Application will keep track of whether MAC address randomization
is enabled or not during scan. But at present driver is storing
'random_mac' in mwifiex_private which implies even after scan is
done driver has some reference to the earlier 'scan request'. To
avoid this, make use of 'mac_addr' variable in 'scan_request' to
store 'random_mac'. This structure will be freed by cfg80211 once
scan is done.
Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
