summaryrefslogtreecommitdiffstats
path: root/net/mac80211/sta_info.c
diff options
context:
space:
mode:
authorJohannes Berg2013-12-19 10:47:48 +0100
committerJohannes Berg2014-01-06 12:09:01 +0100
commit1b000789a4fe5f2013cc120a97d8c9b9c57b5431 (patch)
tree6cab41b0d3ef051ab49cb4a51361572ec8f95a5a /net/mac80211/sta_info.c
parentcfg80211/mac80211: correct qos-map locking (diff)
downloadkernel-qcow2-linux-1b000789a4fe5f2013cc120a97d8c9b9c57b5431.tar.gz
kernel-qcow2-linux-1b000789a4fe5f2013cc120a97d8c9b9c57b5431.tar.xz
kernel-qcow2-linux-1b000789a4fe5f2013cc120a97d8c9b9c57b5431.zip
mac80211: add tracing for ieee80211_sta_set_buffered
This is useful for debugging issues with drivers using this function (erroneously), so add tracing for the API call. Change-Id: Ice9d7eabb8fecbac188f0a741920d3488de700ec Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/sta_info.c')
-rw-r--r--net/mac80211/sta_info.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c
index 4576ba0ff221..8da3af2c6b61 100644
--- a/net/mac80211/sta_info.c
+++ b/net/mac80211/sta_info.c
@@ -1485,6 +1485,8 @@ void ieee80211_sta_set_buffered(struct ieee80211_sta *pubsta,
if (WARN_ON(tid >= IEEE80211_NUM_TIDS))
return;
+ trace_api_sta_set_buffered(sta->local, pubsta, tid, buffered);
+
if (buffered)
set_bit(tid, &sta->driver_buffered_tids);
else