Skip to content

Commit c448f0f

Browse files
committed
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 <[email protected]> Fixes: 0d2ab3a ("nl80211: add support for BSS coloring") Signed-off-by: Johannes Berg <[email protected]>
1 parent f50d2ff commit c448f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/wireless/trace.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3628,7 +3628,7 @@ TRACE_EVENT(cfg80211_bss_color_notify,
36283628
TP_ARGS(netdev, cmd, count, color_bitmap),
36293629
TP_STRUCT__entry(
36303630
NETDEV_ENTRY
3631-
__field(enum nl80211_bss_scan_width, cmd)
3631+
__field(u32, cmd)
36323632
__field(u8, count)
36333633
__field(u64, color_bitmap)
36343634
),

0 commit comments

Comments
 (0)