summaryrefslogtreecommitdiff
path: root/net/mac80211/trace.h
diff options
context:
space:
mode:
authorGregory Greenman <gregory.greenman@intel.com>2022-07-04 00:38:22 +0300
committerJohannes Berg <johannes.berg@intel.com>2022-07-15 12:43:20 +0300
commit7840bd468a99edac26492afa828b8fcbbbb2384e (patch)
tree695696e43e3bdd87973c648968060d6a069f6623 /net/mac80211/trace.h
parent727eff4dd198d79f9e81d3aafbab741a8374b5d0 (diff)
downloadlinux-7840bd468a99edac26492afa828b8fcbbbb2384e.tar.xz
wifi: mac80211: remove link_id parameter from link_info_changed()
Since struct ieee80211_bss_conf already contains link_id, passing link_id is not necessary. Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/trace.h')
-rw-r--r--net/mac80211/trace.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h
index 402110f439f8..9f4377566c42 100644
--- a/net/mac80211/trace.h
+++ b/net/mac80211/trace.h
@@ -449,9 +449,9 @@ TRACE_EVENT(drv_link_info_changed,
TP_PROTO(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
struct ieee80211_bss_conf *link_conf,
- int link_id, u64 changed),
+ u64 changed),
- TP_ARGS(local, sdata, link_conf, link_id, changed),
+ TP_ARGS(local, sdata, link_conf, changed),
TP_STRUCT__entry(
LOCAL_ENTRY
@@ -486,7 +486,7 @@ TRACE_EVENT(drv_link_info_changed,
LOCAL_ASSIGN;
VIF_ASSIGN;
__entry->changed = changed;
- __entry->link_id = link_id;
+ __entry->link_id = link_conf->link_id;
__entry->shortpre = link_conf->use_short_preamble;
__entry->cts = link_conf->use_cts_prot;
__entry->shortslot = link_conf->use_short_slot;