Hi Daniel, > Thanks. This seems to be working, and makes kmemleak happy. Thanks for testing. > So when we find a race-free way to free user_scan_cfg, we can probably > end this topic. Please find attached Amitkumar's patch that addresses this issue. I tested it on my Chromebook. If it works for you on XO-4 I will rebase both patches and resend to the list. > So far I have not managed to get scan_delay_timer_fn() to execute at > all - even when I am not using that script. But I have not really > diagnosed why. I was wondering if there's anything obvious I might be > missing. Here's how I can get scan_delay_timer_fn() trigged on my Chromebook: 0) boot up and switch to a shell console 1) stop wpasupplicant; stop shill # stop my Connection Manager 2) ifconfig mlan0 up 3) iwlist mlan0 scan & sleep 1; ifconfig mlan0 down Thanks, Bing > > Thanks > Daniel
Attachment:
0001-mwifiex-remove-global-user_scan_cfg-variable.patch
Description: 0001-mwifiex-remove-global-user_scan_cfg-variable.patch