brcmfmac: change from brcmf_dbg to brcmf_info 18/245218/1 accepted/tizen/6.0/unified/20201030.104454 accepted/tizen/6.0/unified/hotfix/20201102.235212 accepted/tizen/unified/20201006.080059 submit/tizen/20201006.033113 submit/tizen_6.0/20201029.205501 submit/tizen_6.0_hotfix/20201102.192901 submit/tizen_6.0_hotfix/20201103.115101 tizen_6.0.m2_release
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 5 Oct 2020 11:39:01 +0000 (20:39 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 5 Oct 2020 11:39:01 +0000 (20:39 +0900)
Change from brcmf_dbg to brcmf_info.
This patch is workaround to check debug message on Testhub.

Change-Id: I7fef8f64fc38e43b6544fab3e9474e7f1829cc60
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c

index 8eb56d9..f59837c 100644 (file)
@@ -5392,19 +5392,19 @@ static bool brcmf_is_nonetwork(struct brcmf_cfg80211_info *cfg,
        u32 status = e->status;
 
        if (event == BRCMF_E_LINK && status == BRCMF_E_STATUS_NO_NETWORKS) {
-               brcmf_dbg(CONN, "Processing Link %s & no network found\n",
-                         e->flags & BRCMF_EVENT_MSG_LINK ? "up" : "down");
+               brcmf_info("Processing Link %s & no network found %u\n",
+                         e->flags & BRCMF_EVENT_MSG_LINK ? "up" : "down", status);
                return true;
        }
 
        if (event == BRCMF_E_SET_SSID && status != BRCMF_E_STATUS_SUCCESS) {
-               brcmf_dbg(CONN, "Processing connecting & no network found\n");
+               brcmf_info("Processing connecting & no network found %u\n", status);
                return true;
        }
 
        if (event == BRCMF_E_PSK_SUP &&
            status != BRCMF_E_STATUS_FWSUP_COMPLETED) {
-               brcmf_dbg(CONN, "Processing failed supplicant state: %u\n",
+               brcmf_info("Processing failed supplicant state: %u\n",
                          status);
                return true;
        }
@@ -5659,7 +5659,7 @@ brcmf_notify_connect_status(struct brcmf_if *ifp,
        if (brcmf_is_apmode(ifp->vif)) {
                err = brcmf_notify_connect_status_ap(cfg, ndev, e, data);
        } else if (brcmf_is_linkup(ifp->vif, e)) {
-               brcmf_dbg(CONN, "Linkup\n");
+               brcmf_info("Linkup\n");
                if (brcmf_is_ibssmode(ifp->vif)) {
                        brcmf_inform_ibss(cfg, ndev, e->addr);
                        chan = ieee80211_get_channel(cfg->wiphy, cfg->channel);
@@ -5673,7 +5673,7 @@ brcmf_notify_connect_status(struct brcmf_if *ifp,
                        brcmf_bss_connect_done(cfg, ndev, e, true);
                brcmf_net_setcarrier(ifp, true);
        } else if (brcmf_is_linkdown(e)) {
-               brcmf_dbg(CONN, "Linkdown\n");
+               brcmf_info("Linkdown\n");
                if (!brcmf_is_ibssmode(ifp->vif)) {
                        brcmf_bss_connect_done(cfg, ndev, e, false);
                        brcmf_link_down(ifp->vif,
@@ -5684,6 +5684,7 @@ brcmf_notify_connect_status(struct brcmf_if *ifp,
                        brcmf_net_setcarrier(ifp, false);
                }
        } else if (brcmf_is_nonetwork(cfg, e)) {
+               brcmf_info("No Network\n");
                if (brcmf_is_ibssmode(ifp->vif))
                        clear_bit(BRCMF_VIF_STATUS_CONNECTING,
                                  &ifp->vif->sme_state);