From 492fa166052c94e8fb7f0aa3ac60b60ade834071 Mon Sep 17 00:00:00 2001 From: xu xing Date: Thu, 7 Aug 2014 09:48:19 +0800 Subject: [PATCH] PD #93541:Remove warning for wifi Change-Id: I734da3eef34c156a8cecac41cbf046f9d38997fd --- broadcm_40181/wl_cfg80211.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/broadcm_40181/wl_cfg80211.c b/broadcm_40181/wl_cfg80211.c index 69ccd5b..5596f1d 100755 --- a/broadcm_40181/wl_cfg80211.c +++ b/broadcm_40181/wl_cfg80211.c @@ -602,13 +602,14 @@ wl_sdo_proto_t wl_sdo_protos [] = { }; #endif +#ifdef POWER_OFF_IN_SUSPEND static void wl_wakelock_timeout(struct wl_priv *priv) { #if defined(POWER_OFF_IN_SUSPEND) && defined(CONFIG_HAS_WAKELOCK) wake_lock_timeout(&priv->priv_lock, msecs_to_jiffies(20)); #endif } - +#endif #ifdef POWER_OFF_IN_SUSPEND #define RETURN_EIO_IF_NOT_UP(wlpriv) \ @@ -9086,7 +9087,7 @@ static void wl_scan_timeout(unsigned long data) { wl_event_msg_t msg; struct wl_priv *wl = (struct wl_priv *)data; - struct net_device *ndev = wl_to_prmry_ndev(wl); + //struct net_device *ndev = wl_to_prmry_ndev(wl); if (!(wl->scan_request)) { WL_ERR(("timer expired but no scan request\n")); -- 2.20.1