diff options
author | Amitkumar Karwar <[email protected]> | 2013-05-17 17:50:19 -0700 |
---|---|---|
committer | John W. Linville <[email protected]> | 2013-05-22 15:08:47 -0400 |
commit | 06041118ef0908b9cae7657a7b734699bcf61a6c (patch) | |
tree | f6b74fb5f394c2997a94793318fa18efa7e2b069 /lib/cordic.c | |
parent | c56ecf5a7f0f670c0c445a3d2d0bd6c3eda7015c (diff) |
mwifiex: scan delay timer cleanup in unload path
Return from scan delay timer routine if surprise_removed flag
is true. Also, cancel the timer in unload path.
This fixes a crash when scan delay timer accesses structures
that have been freed already.
Tested with "iwlist mlan0 scan & sleep 1; rmmod mwifiex_sdio"
Reported-by: Daniel Drake <[email protected]>
Tested-by: Daniel Drake <[email protected]>
Signed-off-by: Amitkumar Karwar <[email protected]>
Signed-off-by: Bing Zhao <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'lib/cordic.c')
0 files changed, 0 insertions, 0 deletions