aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mwifiex/cfg80211.c
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2013-01-02 16:07:35 -0800
committerJohn W. Linville <linville@tuxdriver.com>2013-01-04 16:09:48 -0500
commit9c969d8ccb1e17bd20742f4ac9f00c1a64487234 (patch)
tree1bf5d4ee159167ec8de86d975f7b9304a6bb1a20 /drivers/net/wireless/mwifiex/cfg80211.c
parenta910c9cab60c2407e1eab49bbc154628a114c719 (diff)
mwifiex: check wait_event_interruptible return value
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. Cc: "3.6+" <stable@vger.kernel.org> 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>
Diffstat (limited to 'drivers/net/wireless/mwifiex/cfg80211.c')
0 files changed, 0 insertions, 0 deletions