aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorShuah Khan <skhan@linuxfoundation.org>2021-02-09 17:42:24 -0700
committerKalle Valo <kvalo@codeaurora.org>2021-02-11 08:50:29 +0200
commit83bae26532ca7318c1308fd80434e1e420bcf407 (patch)
tree68babcae71e1fb303f76ed5321ec7e4784ec161d /drivers/net/wireless
parentath9k: fix data bus crash when setting nf_override via debugfs (diff)
downloadwireguard-linux-83bae26532ca7318c1308fd80434e1e420bcf407.tar.xz
wireguard-linux-83bae26532ca7318c1308fd80434e1e420bcf407.zip
ath10k: change ath10k_offchan_tx_work() peer present msg to a warn
Based on the comment block in this function and the FIXME for this, peer being present for the offchannel tx is unlikely. Peer is deleted once tx is complete. Change peer present msg to a warn to detect this condition. Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/3b1f71272d56ee1d7f567fbce13bdb56cc06d342.1612915444.git.skhan@linuxfoundation.org
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath/ath10k/mac.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index c202b167d8c6..bb6c5ee43ac0 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -4115,9 +4115,8 @@ void ath10k_offchan_tx_work(struct work_struct *work)
spin_unlock_bh(&ar->data_lock);
if (peer)
- /* FIXME: should this use ath10k_warn()? */
- ath10k_dbg(ar, ATH10K_DBG_MAC, "peer %pM on vdev %d already present\n",
- peer_addr, vdev_id);
+ ath10k_warn(ar, "peer %pM on vdev %d already present\n",
+ peer_addr, vdev_id);
if (!peer) {
ret = ath10k_peer_create(ar, NULL, NULL, vdev_id,