Skip to content

Commit

Permalink
cfg80211: fix BSS color notify trace enum confusion
Browse files Browse the repository at this point in the history
The wrong enum was used here, leading to warnings.
Just use a u32 instead.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 0d2ab3a ("nl80211: add support for BSS coloring")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
  • Loading branch information
Johannes Berg committed Aug 18, 2021
1 parent f50d2ff commit c448f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/wireless/trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
),
Expand Down

0 comments on commit c448f0f

Please sign in to comment.