]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: use timeout variant for wait_event_interruptible
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 20 Mar 2014 23:23:50 +0000 (16:23 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 31 Mar 2014 17:47:40 +0000 (13:47 -0400)
commit9c513be54ca62e27a42a7509ae33c02948842bf9
tree004c92bd8e696427a215edb9ea44b94461986e79
parentb0f59110842c472b65b11f60d96b26e8b72630c7
mwifiex: use timeout variant for wait_event_interruptible

It has been observed that system hangs during suspend, if host
sleep activation fails due to a missing interrupt from firmware.
Use timeout variant, so that the thread will be woken up when
timer expires.

Signed-off-by: Amitkumar Karwar <akarwar@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