mwifiex: return -EBUSY if specific scan request cannot be honored
authorBing Zhao <[email protected]>
Sat, 20 Oct 2012 02:01:59 +0000 (19:01 -0700)
committerJohn W. Linville <[email protected]>
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 <[email protected]>
Signed-off-by: Paul Stewart <[email protected]>
Reviewed-by: Ryan Cairns <[email protected]>
Signed-off-by: Amitkumar Karwar <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/mwifiex/scan.c