staging: wfx: trace acknowledges not linked to any stations

Some resources are associated to the outgoing of the stations. To avoid
any resource leaks. It is important to understand why an acknowledge is
not associated to any station.

Add a trace for that purpose.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200515083325.378539-19-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jérôme Pouiller 2020-05-15 10:33:24 +02:00 committed by Greg Kroah-Hartman
parent 7c5fc1d88c
commit 07d51346b0
1 changed files with 3 additions and 0 deletions

View File

@ -481,6 +481,9 @@ static void wfx_tx_update_sta(struct wfx_vif *wvif, struct ieee80211_hdr *hdr)
if (!sta_priv->buffered[tid]) if (!sta_priv->buffered[tid])
ieee80211_sta_set_buffered(sta, tid, false); ieee80211_sta_set_buffered(sta, tid, false);
spin_unlock_bh(&sta_priv->lock); spin_unlock_bh(&sta_priv->lock);
} else {
dev_dbg(wvif->wdev->dev, "%s: sta does not exist anymore\n",
__func__);
} }
rcu_read_unlock(); rcu_read_unlock();
} }