diff mbox series

ath11k: change failed to find peer id log level

Message ID 1573447787-30517-1-git-send-email-vnaralas@codeaurora.org (mailing list archive)
State Changes Requested
Delegated to: Kalle Valo
Headers show
Series ath11k: change failed to find peer id log level | expand

Commit Message

Venkateswara Naralasetty Nov. 11, 2019, 4:49 a.m. UTC
Peer deletion and NAPI processing are from two different paths,
failed to find peer id is expected when NAPI scheduled
for mon stats processing after peer deletion.

This patch change the log level from warn to debug.

Signed-off-by: Venkateswara Naralasetty <vnaralas@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/dp_rx.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Kalle Valo Nov. 11, 2019, 2:10 p.m. UTC | #1
Venkateswara Naralasetty <vnaralas@codeaurora.org> wrote:

> Peer deletion and NAPI processing are from two different paths,
> failed to find peer id is expected when NAPI scheduled
> for mon stats processing after peer deletion.
> 
> This patch change the log level from warn to debug.
> 
> Signed-off-by: Venkateswara Naralasetty <vnaralas@codeaurora.org>

Failed to apply, please rebase.

error: patch failed: drivers/net/wireless/ath/ath11k/dp_rx.c:2618
error: drivers/net/wireless/ath/ath11k/dp_rx.c: patch does not apply
stg import: Diff does not apply cleanly

Patch set to Changes Requested.
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath11k/dp_rx.c
index 8c0298d..d68a37e 100644
--- a/drivers/net/wireless/ath/ath11k/dp_rx.c
+++ b/drivers/net/wireless/ath/ath11k/dp_rx.c
@@ -2618,7 +2618,8 @@  int ath11k_dp_rx_process_mon_status(struct ath11k_base *ab, int mac_id,
 		peer = ath11k_peer_find_by_id(ab, ppdu_info.peer_id);
 
 		if (!peer || !peer->sta) {
-			ath11k_warn(ab, "failed to find the peer with peer_id %d\n",
+			ath11k_dbg(ab, ATH11K_DBG_DATA,
+				   "failed to find the peer with peer_id %d to update peer stats\n",
 				    ppdu_info.peer_id);
 			spin_unlock_bh(&ab->base_lock);
 			rcu_read_unlock();