summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Huang <anthony.huang@broadcom.corp-partner.google.com>2020-06-12 18:43:25 +0800
committerAhmed ElArabawy <arabawy@google.com>2020-06-15 22:51:11 +0000
commit631d36854be0d8051670499aaf8f6768b321afde (patch)
tree242cedd575b1628dfe6321d1e74acc8cfbae0fa1
parent5980f40fa49ea88225938cd9e9cf73580b6b8ffa (diff)
downloadbcm43752-631d36854be0d8051670499aaf8f6768b321afde.tar.gz
wifi: pcie: Avoid too many logs from dhd_bus_handle_mb_data
Because we have enabled the in-band device wake in default, it will have many debug logs from dhd_bus_handle_mb_data() if the device requested to deep-sleep but host is still active. [11579.895858] [10:46:11.768358][dhd][wlan] dhd_bus_handle_mb_data: Failed to send DS-ACK, host_active_cnt is 1 [11580.565439] [10:46:12.437923][dhd][wlan] dhd_bus_handle_mb_data: Failed to send DS-ACK, host_active_cnt is 1 [11581.541735] [10:46:13.414224][dhd][wlan] dhd_bus_handle_mb_data: Failed to send DS-ACK, host_active_cnt is 1 Since it is just a normal case but not an error. Lower this message level from DHD_ERROR to DHD_TRACE. Bug: 158535681 Change-Id: I866b70152d6f6d943416e81e7ae533e14c24cc1e Signed-off-by: Anthony Huang <anthony.huang@broadcom.corp-partner.google.com>
-rwxr-xr-xdhd_pcie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhd_pcie.c b/dhd_pcie.c
index d2d6393..c67e817 100755
--- a/dhd_pcie.c
+++ b/dhd_pcie.c
@@ -9864,7 +9864,7 @@ dhd_bus_handle_mb_data(dhd_bus_t *bus, uint32 d2h_mb_data)
DHD_TRACE(("D2H_MB_DATA: sent DEEP SLEEP"
"ACK to DNGL\n"));
} else {
- DHD_ERROR(("%s: Failed to send DS-ACK, "
+ DHD_TRACE(("%s: Failed to send DS-ACK, "
"host_active_cnt is %d\n",
__FUNCTION__, bus->host_active_cnt));
}