brcmfmac: use wait_event_timeout for fw control packets over usb.
authorHante Meuleman <meuleman@broadcom.com>
Thu, 27 Sep 2012 12:17:47 +0000 (14:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Sep 2012 17:54:07 +0000 (13:54 -0400)
commit70398a59297965d4af1a0022660bb103dfa59c42
treede81f9168717b00868f8188def8a2e6982d9b881
parent2d838bb608e2d1f6cb4280e76748cb812dc822e7
brcmfmac: use wait_event_timeout for fw control packets over usb.

firmware control packets over usb are async acked. This is
awaited for by using interruptible wait. This can be
interrupted by signal which results in undesirable behavior.
Instead wait_event_timeout is used.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/usb.c