From: Amitkumar Karwar Date: Mon, 14 Apr 2014 22:31:06 +0000 (-0700) Subject: mwifiex: fix hung task on command timeout X-Git-Tag: omap-for-v3.16/pm-signed~76^2~1^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8d2b9209ad648a8e9aa973d32fb64aa2ab01d00;p=pandora-kernel.git mwifiex: fix hung task on command timeout Sometimes when command timeout occurs due to a firmware or hardware bug, there may be some synchronous commands in command queue. These commands are never downloaded to firmware causing hung task warnings. This patch replaces wait_event_interruptible call with wait_event_interruptible_timeout to fix the issue. Signed-off-by: Amitkumar Karwar Signed-off-by: Avinash Patil Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed