brcmfmac: change from brcmf_dbg to brcmf_info
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 5 Oct 2020 11:39:01 +0000 (20:39 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 30 Mar 2021 01:40:01 +0000 (10:40 +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 49bef1b..909305d 100644 (file)
@@ -5629,19 +5629,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;
        }
@@ -6051,7 +6051,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);
@@ -6065,7 +6065,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) &&
                    test_bit(BRCMF_VIF_STATUS_CONNECTED,
                             &ifp->vif->sme_state)) {
@@ -6085,6 +6085,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);