summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rndis_wlan.c
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2013-01-02 16:07:35 -0800
committerBen Hutchings <ben@decadent.org.uk>2013-02-06 04:33:23 +0000
commit8a00cb4852a6833e802e5a861b50ea91375f2c5a (patch)
tree2ac5ff4af04aa18a362c2bec00fcea29c566334d /drivers/net/wireless/rndis_wlan.c
parent0f855d47fb601f23ba8a70fb7d400a06a12df20c (diff)
mwifiex: check wait_event_interruptible return value
commit 9c969d8ccb1e17bd20742f4ac9f00c1a64487234 upstream. wait_event_interruptible function returns -ERESTARTSYS if it's interrupted by a signal. Driver should check the return value and handle this case properly. In mwifiex_wait_queue_complete() routine, as we are now checking wait_event_interruptible return value, the condition check is not required. Also, we have removed mwifiex_cancel_pending_ioctl() call to avoid a chance of sending second command to FW by other path as soon as we clear current command node. FW can not handle two commands simultaneously. Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/net/wireless/rndis_wlan.c')
0 files changed, 0 insertions, 0 deletions