Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 757af6fe authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211: fix chandef tracing bug



The chandef tracing writes center_freq1 twice, so
that it is always 0 (no driver supports 80+80 yet)
and leaves center_freq2 unset. Fix this mistake.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 112c31f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -36,7 +36,7 @@
			__entry->control_freq = (c)->chan->center_freq;		\
			__entry->control_freq = (c)->chan->center_freq;		\
			__entry->chan_width = (c)->width;			\
			__entry->chan_width = (c)->width;			\
			__entry->center_freq1 = (c)->center_freq1;		\
			__entry->center_freq1 = (c)->center_freq1;		\
			__entry->center_freq1 = (c)->center_freq2;
			__entry->center_freq2 = (c)->center_freq2;
#define CHANDEF_PR_FMT	" control:%d MHz width:%d center: %d/%d MHz"
#define CHANDEF_PR_FMT	" control:%d MHz width:%d center: %d/%d MHz"
#define CHANDEF_PR_ARG	__entry->control_freq, __entry->chan_width,		\
#define CHANDEF_PR_ARG	__entry->control_freq, __entry->chan_width,		\
			__entry->center_freq1, __entry->center_freq2
			__entry->center_freq1, __entry->center_freq2