diff options
Diffstat (limited to 'net/mac80211/trace.h')
-rw-r--r-- | net/mac80211/trace.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h index 8286dcef228b..c215fafd7a2f 100644 --- a/net/mac80211/trace.h +++ b/net/mac80211/trace.h | |||
@@ -990,23 +990,23 @@ TRACE_EVENT(drv_channel_switch, | |||
990 | 990 | ||
991 | TP_STRUCT__entry( | 991 | TP_STRUCT__entry( |
992 | LOCAL_ENTRY | 992 | LOCAL_ENTRY |
993 | CHANDEF_ENTRY | ||
993 | __field(u64, timestamp) | 994 | __field(u64, timestamp) |
994 | __field(bool, block_tx) | 995 | __field(bool, block_tx) |
995 | __field(u16, freq) | ||
996 | __field(u8, count) | 996 | __field(u8, count) |
997 | ), | 997 | ), |
998 | 998 | ||
999 | TP_fast_assign( | 999 | TP_fast_assign( |
1000 | LOCAL_ASSIGN; | 1000 | LOCAL_ASSIGN; |
1001 | CHANDEF_ASSIGN(&ch_switch->chandef) | ||
1001 | __entry->timestamp = ch_switch->timestamp; | 1002 | __entry->timestamp = ch_switch->timestamp; |
1002 | __entry->block_tx = ch_switch->block_tx; | 1003 | __entry->block_tx = ch_switch->block_tx; |
1003 | __entry->freq = ch_switch->channel->center_freq; | ||
1004 | __entry->count = ch_switch->count; | 1004 | __entry->count = ch_switch->count; |
1005 | ), | 1005 | ), |
1006 | 1006 | ||
1007 | TP_printk( | 1007 | TP_printk( |
1008 | LOCAL_PR_FMT " new freq:%u count:%d", | 1008 | LOCAL_PR_FMT " new " CHANDEF_PR_FMT " count:%d", |
1009 | LOCAL_PR_ARG, __entry->freq, __entry->count | 1009 | LOCAL_PR_ARG, CHANDEF_PR_ARG, __entry->count |
1010 | ) | 1010 | ) |
1011 | ); | 1011 | ); |
1012 | 1012 | ||