brcmfmac: only allocate firmware-signalling resources if required
authorArend van Spriel <arend@broadcom.com>
Wed, 3 Apr 2013 10:40:48 +0000 (12:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Apr 2013 19:07:08 +0000 (15:07 -0400)
commit47829f4fc4825ad3a50389a682a6ea954664ba79
tree78d1df7bc78e8145b32ebff14b461745fd558aba
parentd9337414e87259fae13693796f7ad897b1b7f8e1
brcmfmac: only allocate firmware-signalling resources if required

Bail out of brcmf_fws_init() when no firmware-signalling is asked
for. Need to take this into account in brcmf_fws_deinit() as well.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Piotr Haber <phaber@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/dhd_linux.c
drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c