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: 0d2ab3aea5 ("nl80211: add support for BSS coloring")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Johannes Berg 2021-08-18 09:20:53 +02:00
parent f50d2ff8f0
commit c448f0fd2c

View File

@ -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)
),