brcmfmac: check bus state to be data before sending data.
authorHante Meuleman <meuleman@broadcom.com>
Tue, 6 Nov 2012 00:22:29 +0000 (16:22 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Nov 2012 19:56:02 +0000 (14:56 -0500)
commit6034d0a19175a3b898dc9f3ee5740275620969a2
tree0a9ec857f31c5034e618e5bf9ec073934737059c
parent256c374f7702c8c20413d2d7a14776dfad524a8d
brcmfmac: check bus state to be data before sending data.

brcmf_netdev_start_xmit and brcmf_fil_cmd_data are checking
bus state for down. These functions should check for data
state.

Reviewed-by: Arend Van Spriel <arend@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_linux.c
drivers/net/wireless/brcm80211/brcmfmac/fwil.c