ath11k: convert message from info to dbg
authorJohn Crispin <john@phrozen.org>
Mon, 25 Nov 2019 16:36:21 +0000 (16:36 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 27 Nov 2019 15:45:57 +0000 (17:45 +0200)
We can regularly see the following message.
- "ath11k c000000.wifi1: failed to find the peer with peer_id 4"
This happens when the FW starts sending stats for the peer whilst the
peer is not fully associated. Convert this info message to a debug one.

Signed-off-by: Shashidhar Lakkavalli <slakkavalli@datto.com>
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/dp_rx.c

index c498c49..d596350 100644 (file)
@@ -2621,8 +2621,9 @@ 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",
-                                   ppdu_info.peer_id);
+                       ath11k_dbg(ab, ATH11K_DBG_DATA,
+                                  "failed to find the peer with peer_id %d\n",
+                                  ppdu_info.peer_id);
                        spin_unlock_bh(&ab->base_lock);
                        rcu_read_unlock();
                        dev_kfree_skb_any(skb);