brcmfmac: use wait_event_timeout for 8021x pending count
authorHante Meuleman <meuleman@broadcom.com>
Tue, 6 Nov 2012 00:22:16 +0000 (16:22 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Nov 2012 19:55:47 +0000 (14:55 -0500)
commit21fff75d2fb64455291c77813dba371e03a301a3
treea3e9b1aa468117fd462ed00bc5086135c7b009f8
parent6b028c5ee249fa974c9730ebcf227b7351eab39d
brcmfmac: use wait_event_timeout for 8021x pending count

brcmf_netdev_wait_pend8021x was polling to see if 8021x data was
already sent. Code was replaced using wait_event_timeout.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/dhd.h
drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c