]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mwifiex: fix hung task on command timeout
authorAmitkumar Karwar <akarwar@marvell.com>
Mon, 14 Apr 2014 22:31:06 +0000 (15:31 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Apr 2014 17:27:05 +0000 (13:27 -0400)
commitf8d2b9209ad648a8e9aa973d32fb64aa2ab01d00
treefc5ff83e3297e5a6710ee2301d964f327aa61a80
parent20474129d8bb0e6f113634f4f0f4f1584d0beed2
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 <akarwar@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/sta_ioctl.c