MLK-20190-02 brcmfmac: init the wlfc_mode variable before it is used
authorAndy Duan <fugang.duan@nxp.com>
Wed, 7 Nov 2018 06:51:52 +0000 (14:51 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit07bc2598393969b1de3f7d8bbbd3dced756bfeb2
treed7cda304e5065cd23a0a259b5281675405a0c9d1
parent99649a074b71565462d89682b632aad9749bda9d
MLK-20190-02 brcmfmac: init the wlfc_mode variable before it is used

Init the wlfc_mode variable before it is used to fix
coverity issue of "Uninitialized variable".

Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c