diff options
| author | Amitkumar Karwar | 2013-07-23 04:17:48 +0200 |
|---|---|---|
| committer | John W. Linville | 2013-07-24 17:02:08 +0200 |
| commit | 003d87cbece50c2a558c954b7ce915dcc70acba7 (patch) | |
| tree | 254432c236a5a24a4ee1fd9bf086f443f45c02d5 /lib/locking-selftest-hardirq.h | |
| parent | mwifiex: add PCIe shutdown handler to avoid system hang on reboot (diff) | |
| download | kernel-qcow2-linux-003d87cbece50c2a558c954b7ce915dcc70acba7.tar.gz kernel-qcow2-linux-003d87cbece50c2a558c954b7ce915dcc70acba7.tar.xz kernel-qcow2-linux-003d87cbece50c2a558c954b7ce915dcc70acba7.zip | |
mwifiex: move del_timer_sync(scan_delay_timer) call to fix memleak
Currently it is in mwifiex_adapter_cleanup() which doesn't get
called if driver initialization is failed causing memory leak.
scan_delay_timer is initialized in mwifiex_register(), so it
should be deleted in mwifiex_unregister(). Hence it has been
moved to appropriate place.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/locking-selftest-hardirq.h')
0 files changed, 0 insertions, 0 deletions
