diff mbox series

[12/15] wifi: cfg80211: Fix trace print for removed links

Message ID 20241230065327.2a90e927988f.Ib9f5e82286f0352cd057b4bf76737223e9de8274@changeid
State New
Headers show
Series wifi: mac80211: updates - 30-12-24 | expand

Commit Message

Miri Korenblit Dec. 30, 2024, 4:55 a.m. UTC
From: Ilan Peer <ilan.peer@intel.com>

Print the mask of removed links in hexadecimal.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
---
 net/wireless/trace.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/net/wireless/trace.h b/net/wireless/trace.h
index a57210c8087c..41a9f52e1f97 100644
--- a/net/wireless/trace.h
+++ b/net/wireless/trace.h
@@ -4100,7 +4100,7 @@  TRACE_EVENT(cfg80211_links_removed,
 		NETDEV_ASSIGN;
 		__entry->link_mask = link_mask;
 	),
-	TP_printk(NETDEV_PR_FMT ", link_mask:%u", NETDEV_PR_ARG,
+	TP_printk(NETDEV_PR_FMT ", link_mask:0x%x", NETDEV_PR_ARG,
 		  __entry->link_mask)
 );