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 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@xxxxxxxxxxx> Reviewed-by: Brian Norris <briannorris@xxxxxxxxxxxx>