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)
commit52250cbee7f62400140295a632e0ffbbe5b083ca
tree004c92bd8e696427a215edb9ea44b94461986e79
parent3d026d09b28dda24777129a931634949c75a9181
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