[Raspbian-devel] [PATCH] drivers: wireless: brcmfmac: use correct interface to record log info
Meng.Li at windriver.com
Meng.Li at windriver.com
Wed Mar 10 04:50:57 GMT 2021
From: Meng Li <Meng.Li at windriver.com>
Use brcmf_info interface that causes lots of debug info recorded
in log message file. So, refer to code that is used to record debug
info in this file, replace brcmf_info with the more reasonable
brcmf_dbg interface and set INFO parameter.
Signed-off-by: Meng Li <Meng.Li at windriver.com>
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
index 525bf62d5b3c..32b232998f1e 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
@@ -2938,7 +2938,7 @@ brcmf_cfg80211_set_power_mgmt(struct wiphy *wiphy, struct net_device *ndev,
brcmf_dbg(INFO, "Do not enable power save for P2P clients\n");
pm = PM_OFF;
}
- brcmf_info("power save %s\n", (pm ? "enabled" : "disabled"));
+ brcmf_dbg(INFO, "power save %s\n", (pm ? "enabled" : "disabled"));
err = brcmf_fil_cmd_int_set(ifp, BRCMF_C_SET_PM, pm);
if (err) {
--
2.17.1
More information about the Raspbian-devel
mailing list