mwifiex: return -EBUSY if specific scan request cannot be honored
authorBing Zhao <bzhao@marvell.com>
Sat, 20 Oct 2012 02:01:59 +0000 (19:01 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Oct 2012 17:18:09 +0000 (13:18 -0400)
commitdcd5c79c9a3a7ac08bdce089fec810677ce6efe8
tree25f35578fab04079a49fff145a8a2661b9565e17
parent9495b31ad7e2b479501abb36a62789d59ee406fc
mwifiex: return -EBUSY if specific scan request cannot be honored

Previous patch "mwifiex: return -EBUSY if scan request cannot.."
corrected regular scan request only. There is another case for
specific scan that needs the same handling.

Also, removed !req_ssid check as it has already been validated
by caller.

Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Paul Stewart <pstew@chromium.org>
Reviewed-by: Ryan Cairns <rtc@chromium.org>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/scan.c