mwifiex: reset scan_processing flag in failure cases
authorAmitkumar Karwar <akarwar@marvell.com>
Sat, 6 Oct 2012 03:21:41 +0000 (20:21 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Oct 2012 19:06:03 +0000 (15:06 -0400)
commit061f2e69fedbcd7839c8e6e6b659e345acc3396f
tree83e0485a16c54622aa3c1ce1c3cc04b7e9b4eb8e
parentc2476335313e618c0368ffbe73e05bba4d0f5f89
mwifiex: reset scan_processing flag in failure cases

scan_processing flag should be reset when scan request is failed
due to some reasons Ex. memory allocation failure etc. Otherwise
further scan requests will be blocked.

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>
drivers/net/wireless/mwifiex/scan.c