From 71f245ece0f10c447c37bb8e4a3c84d1e23b21fb Mon Sep 17 00:00:00 2001 From: Rongjun Chen Date: Thu, 26 Apr 2018 19:34:57 +0800 Subject: [PATCH] wifi: fix some not init issue Change-Id: I9a4453e42f2f4b3d808c04401a174e940f2b2e44 --- bcmdhd.1.579.77.41.1.cn/wl_cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bcmdhd.1.579.77.41.1.cn/wl_cfg80211.c b/bcmdhd.1.579.77.41.1.cn/wl_cfg80211.c index fa88629..f65d163 100644 --- a/bcmdhd.1.579.77.41.1.cn/wl_cfg80211.c +++ b/bcmdhd.1.579.77.41.1.cn/wl_cfg80211.c @@ -17082,7 +17082,7 @@ int wl_cfg80211_hang(struct net_device *dev, u16 reason) s32 wl_cfg80211_down(struct net_device *dev) { - s32 err; + s32 err = 0;; struct bcm_cfg80211 *cfg = NULL; if (dev == NULL) return err; -- 2.20.1