aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/join.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2015-04-30 16:52:02 -0700
committerKalle Valo <kvalo@codeaurora.org>2015-05-09 16:47:34 +0300
commit4e0ff946ee0b010a917dad6ae2fcbdc7e6f9ac16 (patch)
treec8c27424232c48427f083e9aa5472b2c0d510321 /drivers/net/wireless/mwifiex/join.c
parentath9k: Enable short repeat by default on ath9k_htc (diff)
downloadlinux-dev-4e0ff946ee0b010a917dad6ae2fcbdc7e6f9ac16.tar.xz
linux-dev-4e0ff946ee0b010a917dad6ae2fcbdc7e6f9ac16.zip
mwifiex: do not return success when command times out
wait_event_interruptible_timeout() returns 0 upon timeout. We should convert it to a negative error code (such as -ETIMEDOUT) instead of returning it directly, as return code of 0 indicates that command was executed. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mwifiex/join.c')
0 files changed, 0 insertions, 0 deletions