Messages in this thread | | | Subject | Re: mwifiex: do not return success when command times out | From | Kalle Valo <> | Date | Sat, 9 May 2015 13:47:44 +0000 (UTC) |
| |
> 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>
Thanks, applied to wireless-drivers-next.git.
Kalle Valo
| |