Re: mwifiex: avoid storing random_mac in private

2017-09-20 Thread Kalle Valo
7;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 > Reviewed-by: Brian Norris Patch ap

Re: [PATCH] mwifiex: avoid storing random_mac in private

2017-09-18 Thread Brian Norris
On Mon, Sep 18, 2017 at 12:25:02PM +0530, Ganapathi Bhat wrote: > 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

[PATCH] mwifiex: avoid storing random_mac in private

2017-09-17 Thread Ganapathi Bhat
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' varia