brcm80211: smac: bugfix for tx mute in brcms_b_init()
authorRoland Vossen <rvossen@broadcom.com>
Fri, 21 Oct 2011 14:16:25 +0000 (16:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Nov 2011 20:54:18 +0000 (15:54 -0500)
commita8bc4917ed6bd6101569630708baaac14504ab8c
tree90e0736ca0107a8583b1416711f4f1f8c961c866
parent43ac09722f8e8f69cb528877c4b853cf9b96d9d7
brcm80211: smac: bugfix for tx mute in brcms_b_init()

Transmit can only be muted if the mac core is enabled. When brcms_b_init()
is called, the mac core is suspended. Brcms_b_init() calls a transmit mute
function that requires an enabled mac core. This code path is never taken,
but would have been taken in subsequent patches.

Reviewed-by: Alwin Beukers <alwin@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/main.c