ath11k: remove useless info messages
authorKalle Valo <kvalo@codeaurora.org>
Tue, 16 Jun 2020 14:00:52 +0000 (17:00 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 23 Jun 2020 07:51:56 +0000 (10:51 +0300)
ath11k should not be spamming these to the logs. If these are important they
should be debug messages, but I just remove them for now.

Compile tested only.

Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1592316055-24958-10-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/mac.c
drivers/net/wireless/ath/ath11k/peer.c
drivers/net/wireless/ath/ath11k/qmi.c
drivers/net/wireless/ath/ath11k/spectral.c

index cdedb2e..0fd1f71 100644 (file)
@@ -3039,10 +3039,6 @@ static int ath11k_mac_op_sta_state(struct ieee80211_hw *hw,
                if (ret)
                        ath11k_warn(ar->ab, "Failed to associate station: %pM\n",
                                    sta->addr);
-               else
-                       ath11k_info(ar->ab,
-                                   "Station %pM moved to assoc state\n",
-                                   sta->addr);
        } else if (old_state == IEEE80211_STA_ASSOC &&
                   new_state == IEEE80211_STA_AUTH &&
                   (vif->type == NL80211_IFTYPE_AP ||
@@ -3052,10 +3048,6 @@ static int ath11k_mac_op_sta_state(struct ieee80211_hw *hw,
                if (ret)
                        ath11k_warn(ar->ab, "Failed to disassociate station: %pM\n",
                                    sta->addr);
-               else
-                       ath11k_info(ar->ab,
-                                   "Station %pM moved to disassociated state\n",
-                                   sta->addr);
        }
 
        mutex_unlock(&ar->conf_mutex);
index 2971725..61ad930 100644 (file)
@@ -223,9 +223,6 @@ int ath11k_peer_create(struct ath11k *ar, struct ath11k_vif *arvif,
        peer = ath11k_peer_find_by_pdev_idx(ar->ab, ar->pdev_idx, param->peer_addr);
        if (peer) {
                spin_unlock_bh(&ar->ab->base_lock);
-               ath11k_info(ar->ab,
-                           "ignoring the peer %pM creation on same pdev idx %d\n",
-                           param->peer_addr, ar->pdev_idx);
                return -EINVAL;
        }
        spin_unlock_bh(&ar->ab->base_lock);
index d9ffdf8..bbdbf1e 100644 (file)
@@ -1901,7 +1901,6 @@ static int ath11k_qmi_load_bdf(struct ath11k_base *ab)
                        goto out_qmi_bdf;
                }
        }
-       ath11k_info(ab, "qmi BDF downloaded\n");
 
 out_qmi_bdf:
        iounmap(bdf_addr);
index 1c5d65b..6cbe6f4 100644 (file)
@@ -954,10 +954,8 @@ int ath11k_spectral_init(struct ath11k_base *ab)
        int i;
 
        if (!test_bit(WMI_TLV_SERVICE_FREQINFO_IN_METADATA,
-                     ab->wmi_ab.svc_map)) {
-               ath11k_info(ab, "spectral not supported\n");
+                     ab->wmi_ab.svc_map))
                return 0;
-       }
 
        for (i = 0; i < ab->num_radios; i++) {
                ar = ab->pdevs[i].ar;
@@ -966,10 +964,8 @@ int ath11k_spectral_init(struct ath11k_base *ab)
                ret = ath11k_dbring_get_cap(ar->ab, ar->pdev_idx,
                                            WMI_DIRECT_BUF_SPECTRAL,
                                            &db_cap);
-               if (ret) {
-                       ath11k_info(ab, "spectral not enabled for pdev %d\n", i);
+               if (ret)
                        continue;
-               }
 
                idr_init(&sp->rx_ring.bufs_idr);
                spin_lock_init(&sp->rx_ring.idr_lock);