commit | 4af2bd49e6777d39db9bafc868860f0cfdd04652 | [log] [tgz] |
---|---|---|
author | Amitkumar Karwar <akarwar@marvell.com> | Thu Feb 27 19:35:15 2014 -0800 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Feb 28 14:33:41 2014 -0500 |
tree | 1aba93358be2baa1881d597b63eef6252634aaf6 | |
parent | 828cf2222f05a22e51cdde4fb959d256bf31613b [diff] |
mwifiex: abort scan while cancelling pending command mwifiex_cancel_pending_ioctl() and mwifiex_cancel_all_pending_cmd() are called in command timeout and driver unload paths respectively. If scan operation is in progress, we should abort it smoothly. Reported-by: Tim Shepard <shep@alum.mit.edu> 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>