Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ba4c787 authored by Ben Greear's avatar Ben Greear Committed by Kalle Valo
Browse files

ath10k: add more details to some debug messages



Makes it easier to determine why some failures
happened.

Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 26ebbccf
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -3539,7 +3539,8 @@ static void ath10k_flush(struct ieee80211_hw *hw, u32 queues, bool drop)
		}), ATH10K_FLUSH_TIMEOUT_HZ);
		}), ATH10K_FLUSH_TIMEOUT_HZ);


	if (ret <= 0 || skip)
	if (ret <= 0 || skip)
		ath10k_warn("tx not flushed\n");
		ath10k_warn("tx not flushed (skip %i ar-state %i): %i\n",
			    skip, ar->state, ret);


skip:
skip:
	mutex_unlock(&ar->conf_mutex);
	mutex_unlock(&ar->conf_mutex);
+2 −1
Original line number Original line Diff line number Diff line
@@ -378,7 +378,8 @@ void ath10k_peer_unmap_event(struct ath10k_htt *htt,
	spin_lock_bh(&ar->data_lock);
	spin_lock_bh(&ar->data_lock);
	peer = ath10k_peer_find_by_id(ar, ev->peer_id);
	peer = ath10k_peer_find_by_id(ar, ev->peer_id);
	if (!peer) {
	if (!peer) {
		ath10k_warn("unknown peer id %d\n", ev->peer_id);
		ath10k_warn("peer-unmap-event: unknown peer id %d\n",
			    ev->peer_id);
		goto exit;
		goto exit;
	}
	}