linux/drivers/net/wireless/brcm80211/brcmsmac
Dan Carpenter c0fb754bd8 brcmsmac: NULL dereferences in brcms_c_detach_mfree()
The brcms_c_attach_malloc() function can call this with a NULL
"wlc->corestate" or "wlc->hw".

Also I threw in a bonus cleanup by deleting an obvious comment and a
no-op NULL assignment.  :)

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-12-01 15:57:21 -05:00
..
phy
aiutils.c
aiutils.h
ampdu.c
ampdu.h
antsel.c
antsel.h
brcms_trace_events.c
brcms_trace_events.h
channel.c
channel.h
d11.h
debug.c brcmsmac: extend hardware info shown in debugfs 2014-12-01 15:57:20 -05:00
debug.h
dma.c
dma.h
led.c
led.h
mac80211_if.c
mac80211_if.h
main.c brcmsmac: NULL dereferences in brcms_c_detach_mfree() 2014-12-01 15:57:21 -05:00
main.h
Makefile
phy_shim.c
phy_shim.h
pmu.c
pmu.h
pub.h
rate.c
rate.h
scb.h
stf.c
stf.h
types.h
ucode_loader.c
ucode_loader.h