brcmfmac: correct handling IF firmware event
authorArend van Spriel <arend@broadcom.com>
Thu, 15 Nov 2012 02:46:10 +0000 (18:46 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Nov 2012 19:28:50 +0000 (14:28 -0500)
commit607d5c0ef6c4d3a2e7a61ba1b62baa0712366bc0
tree86e3e4f231959e19d1d4aaf2b1e9010a3b5a3ed8
parentbdf5ff516b453137cecb71e60ff860ec0a704509
brcmfmac: correct handling IF firmware event

Testing revealed the IF ADD event contains the interface
index of the new interface. This would result in a NULL
pointer access when handling the event.

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