Skip to content

Commit

Permalink
mac80211: Fix incorrect use of STA_PR_FMT in trace points
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Seth Forshee authored and Johannes Berg committed Feb 15, 2013
1 parent 8ffb5c0 commit 15ac7c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions net/mac80211/trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ TRACE_EVENT(drv_set_tim,

TP_printk(
LOCAL_PR_FMT STA_PR_FMT " set:%d",
LOCAL_PR_ARG, STA_PR_FMT, __entry->set
LOCAL_PR_ARG, STA_PR_ARG, __entry->set
)
);

Expand Down Expand Up @@ -1684,7 +1684,7 @@ TRACE_EVENT(api_sta_block_awake,

TP_printk(
LOCAL_PR_FMT STA_PR_FMT " block:%d",
LOCAL_PR_ARG, STA_PR_FMT, __entry->block
LOCAL_PR_ARG, STA_PR_ARG, __entry->block
)
);

Expand Down Expand Up @@ -1782,7 +1782,7 @@ TRACE_EVENT(api_eosp,

TP_printk(
LOCAL_PR_FMT STA_PR_FMT,
LOCAL_PR_ARG, STA_PR_FMT
LOCAL_PR_ARG, STA_PR_ARG
)
);

Expand Down

0 comments on commit 15ac7c4

Please sign in to comment.