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

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
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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);
+0 −3
Original line number Diff line number Diff line
@@ -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);
+0 −1
Original line number Diff line number Diff line
@@ -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);
+2 −6
Original line number Diff line number Diff line
@@ -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);