From: Dmitry Torokhov Date: Thu, 30 Apr 2015 23:52:02 +0000 (-0700) Subject: mwifiex: do not return success when command times out X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~230^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e0ff946ee0b010a917dad6ae2fcbdc7e6f9ac16;p=pandora-kernel.git 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 Signed-off-by: Kalle Valo --- Reading git-diff-tree failed