]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/mac80211/util.c
mac80211: enhance tracing
[net-next-2.6.git] / net / mac80211 / util.c
index ad9009f717edb61f39b0890a80f902de4eee6670..2b75b4fb68f42fba375e7fafbb49b33cd87f08e5 100644 (file)
@@ -270,6 +270,8 @@ static void __ieee80211_wake_queue(struct ieee80211_hw *hw, int queue,
        struct ieee80211_local *local = hw_to_local(hw);
        struct ieee80211_sub_if_data *sdata;
 
+       trace_wake_queue(local, queue, reason);
+
        if (WARN_ON(queue >= hw->queues))
                return;
 
@@ -312,6 +314,8 @@ static void __ieee80211_stop_queue(struct ieee80211_hw *hw, int queue,
        struct ieee80211_local *local = hw_to_local(hw);
        struct ieee80211_sub_if_data *sdata;
 
+       trace_stop_queue(local, queue, reason);
+
        if (WARN_ON(queue >= hw->queues))
                return;