Commit 21b1a5a4 authored by Kalle Valo's avatar Kalle Valo

ath11k: remove useless info messages

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: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1592316055-24958-10-git-send-email-kvalo@codeaurora.org
parent 31d78a3d
...@@ -3039,10 +3039,6 @@ static int ath11k_mac_op_sta_state(struct ieee80211_hw *hw, ...@@ -3039,10 +3039,6 @@ static int ath11k_mac_op_sta_state(struct ieee80211_hw *hw,
if (ret) if (ret)
ath11k_warn(ar->ab, "Failed to associate station: %pM\n", ath11k_warn(ar->ab, "Failed to associate station: %pM\n",
sta->addr); sta->addr);
else
ath11k_info(ar->ab,
"Station %pM moved to assoc state\n",
sta->addr);
} else if (old_state == IEEE80211_STA_ASSOC && } else if (old_state == IEEE80211_STA_ASSOC &&
new_state == IEEE80211_STA_AUTH && new_state == IEEE80211_STA_AUTH &&
(vif->type == NL80211_IFTYPE_AP || (vif->type == NL80211_IFTYPE_AP ||
...@@ -3052,10 +3048,6 @@ static int ath11k_mac_op_sta_state(struct ieee80211_hw *hw, ...@@ -3052,10 +3048,6 @@ static int ath11k_mac_op_sta_state(struct ieee80211_hw *hw,
if (ret) if (ret)
ath11k_warn(ar->ab, "Failed to disassociate station: %pM\n", ath11k_warn(ar->ab, "Failed to disassociate station: %pM\n",
sta->addr); sta->addr);
else
ath11k_info(ar->ab,
"Station %pM moved to disassociated state\n",
sta->addr);
} }
mutex_unlock(&ar->conf_mutex); mutex_unlock(&ar->conf_mutex);
......
...@@ -223,9 +223,6 @@ int ath11k_peer_create(struct ath11k *ar, struct ath11k_vif *arvif, ...@@ -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); peer = ath11k_peer_find_by_pdev_idx(ar->ab, ar->pdev_idx, param->peer_addr);
if (peer) { if (peer) {
spin_unlock_bh(&ar->ab->base_lock); 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; return -EINVAL;
} }
spin_unlock_bh(&ar->ab->base_lock); spin_unlock_bh(&ar->ab->base_lock);
......
...@@ -1901,7 +1901,6 @@ static int ath11k_qmi_load_bdf(struct ath11k_base *ab) ...@@ -1901,7 +1901,6 @@ static int ath11k_qmi_load_bdf(struct ath11k_base *ab)
goto out_qmi_bdf; goto out_qmi_bdf;
} }
} }
ath11k_info(ab, "qmi BDF downloaded\n");
out_qmi_bdf: out_qmi_bdf:
iounmap(bdf_addr); iounmap(bdf_addr);
......
...@@ -954,10 +954,8 @@ int ath11k_spectral_init(struct ath11k_base *ab) ...@@ -954,10 +954,8 @@ int ath11k_spectral_init(struct ath11k_base *ab)
int i; int i;
if (!test_bit(WMI_TLV_SERVICE_FREQINFO_IN_METADATA, if (!test_bit(WMI_TLV_SERVICE_FREQINFO_IN_METADATA,
ab->wmi_ab.svc_map)) { ab->wmi_ab.svc_map))
ath11k_info(ab, "spectral not supported\n");
return 0; return 0;
}
for (i = 0; i < ab->num_radios; i++) { for (i = 0; i < ab->num_radios; i++) {
ar = ab->pdevs[i].ar; ar = ab->pdevs[i].ar;
...@@ -966,10 +964,8 @@ int ath11k_spectral_init(struct ath11k_base *ab) ...@@ -966,10 +964,8 @@ int ath11k_spectral_init(struct ath11k_base *ab)
ret = ath11k_dbring_get_cap(ar->ab, ar->pdev_idx, ret = ath11k_dbring_get_cap(ar->ab, ar->pdev_idx,
WMI_DIRECT_BUF_SPECTRAL, WMI_DIRECT_BUF_SPECTRAL,
&db_cap); &db_cap);
if (ret) { if (ret)
ath11k_info(ab, "spectral not enabled for pdev %d\n", i);
continue; continue;
}
idr_init(&sp->rx_ring.bufs_idr); idr_init(&sp->rx_ring.bufs_idr);
spin_lock_init(&sp->rx_ring.idr_lock); spin_lock_init(&sp->rx_ring.idr_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment