]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4341c845c407df9fe3ffbb4c8123d3d8ee9d2d68
tree25f35578fab04079a49fff145a8a2661b9565e17
parentb1128c2902a6dbce9c29f8045efef9e3c8a4d316
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