brcmfmac: initialize struct brcmf_fws_info fields before iovar
authorArend van Spriel <arend@broadcom.com>
Wed, 3 Apr 2013 10:40:45 +0000 (12:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Apr 2013 19:07:07 +0000 (15:07 -0400)
commitbfc8bbf91f861815d0382a26b4bbc825f5531bfa
tree42ade100747eb1b64bce8090e8aed6f0d2aefeb4
parentc3203374bea328af54843bd72f9306e6c7832db4
brcmfmac: initialize struct brcmf_fws_info fields before iovar

If iovar to the firmware fails the firmware-signalling module
does a cleanup for which it needs pointer to struct brcmf_pub, which
it gets from struct brcmf_fws_info::drvr. Assign this field before
doing the tlv iovar.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Piotr Haber <phaber@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@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/fwsignal.c