aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSeth Forshee <seth.forshee@canonical.com>2013-02-15 14:15:48 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-02-15 14:25:11 -0500
commit15ac7c478fd227257e4be94519c6f965a9e6159d (patch)
treec9d2e98ea4871465dcd73c665ff37e1ae4a72189 /net
parent8ffb5c001a6d1ef142ef550861e0b97e291f6469 (diff)
mac80211: Fix incorrect use of STA_PR_FMT in trace points
Several tracepoints are using STA_PR_FMT where STA_PR_ARG should be used, resulting in messages like "phy0 sta:ARG TYPE NOT FIELD BUT 1". Change these to STA_PR_ARG. Signed-off-by: Seth Forshee <seth.forshee@canonical.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/trace.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h
index 1183c4a4fee5..3d7cd2a0582f 100644
--- a/net/mac80211/trace.h
+++ b/net/mac80211/trace.h
@@ -479,7 +479,7 @@ TRACE_EVENT(drv_set_tim,
479 479
480 TP_printk( 480 TP_printk(
481 LOCAL_PR_FMT STA_PR_FMT " set:%d", 481 LOCAL_PR_FMT STA_PR_FMT " set:%d",
482 LOCAL_PR_ARG, STA_PR_FMT, __entry->set 482 LOCAL_PR_ARG, STA_PR_ARG, __entry->set
483 ) 483 )
484); 484);
485 485
@@ -1684,7 +1684,7 @@ TRACE_EVENT(api_sta_block_awake,
1684 1684
1685 TP_printk( 1685 TP_printk(
1686 LOCAL_PR_FMT STA_PR_FMT " block:%d", 1686 LOCAL_PR_FMT STA_PR_FMT " block:%d",
1687 LOCAL_PR_ARG, STA_PR_FMT, __entry->block 1687 LOCAL_PR_ARG, STA_PR_ARG, __entry->block
1688 ) 1688 )
1689); 1689);
1690 1690
@@ -1782,7 +1782,7 @@ TRACE_EVENT(api_eosp,
1782 1782
1783 TP_printk( 1783 TP_printk(
1784 LOCAL_PR_FMT STA_PR_FMT, 1784 LOCAL_PR_FMT STA_PR_FMT,
1785 LOCAL_PR_ARG, STA_PR_FMT 1785 LOCAL_PR_ARG, STA_PR_ARG
1786 ) 1786 )
1787); 1787);
1788 1788