MLK-14405 bcmdhd: replace WL_ERR() with WL_INFO() in some normal code slice
authorAndy Duan <fugang.duan@nxp.com>
Mon, 13 Mar 2017 04:43:59 +0000 (12:43 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:33 +0000 (15:21 -0500)
Replace WL_ERR() with WL_INFO in some normal code slice to avoid confusion.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
drivers/net/wireless/bcmdhd/wl_cfg80211.c

index 273ae96..bddaf2f 100644 (file)
@@ -7751,7 +7751,7 @@ static s32 wl_setup_wiphy(struct wireless_dev *wdev, struct device *sdiofunc_dev
        wiphy_apply_custom_regulatory(wdev->wiphy, &brcm_regdom);
 
 #if (LINUX_VERSION_CODE > KERNEL_VERSION(3, 13, 0)) || defined(WL_VENDOR_EXT_SUPPORT)
-       WL_ERR(("Registering Vendor80211)\n"));
+       WL_INFO(("Registering Vendor80211)\n"));
        err = wl_cfgvendor_attach(wdev->wiphy);
        if (unlikely(err < 0)) {
                WL_ERR(("Couldn not attach vendor commands (%d)\n", err));
@@ -10829,7 +10829,7 @@ static s32 wl_event_handler(void *data)
 
        cfg = (struct bcm_cfg80211 *)tsk->parent;
 
-       WL_ERR(("tsk Enter, tsk = 0x%p\n", tsk));
+       WL_INFO(("tsk Enter, tsk = 0x%p\n", tsk));
 
        while (down_interruptible (&tsk->sema) == 0) {
                SMP_RD_BARRIER_DEPENDS();
@@ -10902,7 +10902,7 @@ static s32 wl_event_handler(void *data)
                }
                DHD_OS_WAKE_UNLOCK(cfg->pub);
        }
-       WL_ERR(("was terminated\n"));
+       WL_INFO(("was terminated\n"));
        complete_and_exit(&tsk->completed, 0);
        return 0;
 }