aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorLuciano Coelho <luciano.coelho@intel.com>2014-11-07 08:28:34 -0500
committerJohannes Berg <johannes.berg@intel.com>2014-11-10 04:18:04 -0500
commit127f10ec6069aa0ddc214f14cb424198e1741256 (patch)
tree78a7e5bceb6ac01cecf303c5a3dc05bef68cf9b6 /net/mac80211
parent000baa5dfd99abe8a6e4ddbe900be5a570a1e20c (diff)
mac80211: add device_timestamp to the drv_pre_channel_switch trace
The device_timestamp value was left out of the event trace for drv_pre_channel_switch by mistake. Add it. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/trace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h
index 809a4983eb4a..96847e788488 100644
--- a/net/mac80211/trace.h
+++ b/net/mac80211/trace.h
@@ -2140,6 +2140,7 @@ TRACE_EVENT(drv_pre_channel_switch,
2140 VIF_ENTRY 2140 VIF_ENTRY
2141 CHANDEF_ENTRY 2141 CHANDEF_ENTRY
2142 __field(u64, timestamp) 2142 __field(u64, timestamp)
2143 __field(u32, device_timestamp)
2143 __field(bool, block_tx) 2144 __field(bool, block_tx)
2144 __field(u8, count) 2145 __field(u8, count)
2145 ), 2146 ),
@@ -2149,6 +2150,7 @@ TRACE_EVENT(drv_pre_channel_switch,
2149 VIF_ASSIGN; 2150 VIF_ASSIGN;
2150 CHANDEF_ASSIGN(&ch_switch->chandef) 2151 CHANDEF_ASSIGN(&ch_switch->chandef)
2151 __entry->timestamp = ch_switch->timestamp; 2152 __entry->timestamp = ch_switch->timestamp;
2153 __entry->device_timestamp = ch_switch->device_timestamp;
2152 __entry->block_tx = ch_switch->block_tx; 2154 __entry->block_tx = ch_switch->block_tx;
2153 __entry->count = ch_switch->count; 2155 __entry->count = ch_switch->count;
2154 ), 2156 ),