summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-08-18 09:20:53 +0200
committerJohannes Berg <johannes.berg@intel.com>2021-08-18 09:21:52 +0200
commitc448f0fd2ce59947b3b8b8d6b56e15036449d1f1 (patch)
tree94cd8f3cbb72a1f005e085c631e8b3ca59cd7983 /net/wireless
parentf50d2ff8f016b79a2ff4acd5943a1eda40c545d4 (diff)
downloadlinux-c448f0fd2ce59947b3b8b8d6b56e15036449d1f1.tar.bz2
cfg80211: fix BSS color notify trace enum confusion
The wrong enum was used here, leading to warnings. Just use a u32 instead. Reported-by: kernel test robot <lkp@intel.com> Fixes: 0d2ab3aea50b ("nl80211: add support for BSS coloring") Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/trace.h b/net/wireless/trace.h
index 911bb3b8969e..19b78d472283 100644
--- a/net/wireless/trace.h
+++ b/net/wireless/trace.h
@@ -3628,7 +3628,7 @@ TRACE_EVENT(cfg80211_bss_color_notify,
TP_ARGS(netdev, cmd, count, color_bitmap),
TP_STRUCT__entry(
NETDEV_ENTRY
- __field(enum nl80211_bss_scan_width, cmd)
+ __field(u32, cmd)
__field(u8, count)
__field(u64, color_bitmap)
),