summaryrefslogtreecommitdiffstats
path: root/net/mac80211/sta_info.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2010-04-07 16:48:40 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-04-08 15:24:13 -0400
commitb5878a2dc5e7e7f031a52c3e15b571224cb6b540 (patch)
tree4d035602f4a4d6e021eaf261f3665d4a5439cfd8 /net/mac80211/sta_info.c
parent403820edc4ba1f2fb2514c022f2662c498ce0d11 (diff)
downloadlinux-stable-b5878a2dc5e7e7f031a52c3e15b571224cb6b540.tar.gz
linux-stable-b5878a2dc5e7e7f031a52c3e15b571224cb6b540.tar.bz2
linux-stable-b5878a2dc5e7e7f031a52c3e15b571224cb6b540.zip
mac80211: enhance tracing
Enhance tracing by adding tracing for a variety of callbacks that the drivers call, and also for internal calls (currently limited to queue status). This can aid debugging what is going on in mac80211 in interaction with drivers, since we can now see what drivers call and not just what mac80211 calls in the driver. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.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 4de987cbda1c..ff0eb948917b 100644
--- a/net/mac80211/sta_info.c
+++ b/net/mac80211/sta_info.c
@@ -957,6 +957,8 @@ void ieee80211_sta_block_awake(struct ieee80211_hw *hw,
{
struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
+ trace_api_sta_block_awake(sta->local, pubsta, block);
+
if (block)
set_sta_flags(sta, WLAN_STA_PS_DRIVER);
else