From: Jaehoon Chung Date: Mon, 5 Oct 2020 11:39:01 +0000 (+0900) Subject: brcmfmac: change from brcmf_dbg to brcmf_info X-Git-Tag: submit/tizen/20220208.074352~91 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e25f1b435af787fb8e06c84368f4fe27d82d956e;p=platform%2Fkernel%2Flinux-rpi.git brcmfmac: change from brcmf_dbg to brcmf_info 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 --- diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c index d9bd880..59c009f 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c @@ -5635,19 +5635,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; } @@ -6057,7 +6057,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); @@ -6071,7 +6071,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(ifp->vif, 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)) { @@ -6091,6 +6091,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);