diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-06-24 14:42:12 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-07-15 11:43:15 +0200 |
commit | 3fbddae46e5fc3f1630c7cf561d88e4ad21c7105 (patch) | |
tree | 165432b33580a16de3fea3160187a5c0b68bfa47 /net/mac80211/iface.c | |
parent | wifi: mac80211: set up/tear down client vif links properly (diff) | |
download | linux-3fbddae46e5fc3f1630c7cf561d88e4ad21c7105.tar.xz linux-3fbddae46e5fc3f1630c7cf561d88e4ad21c7105.zip |
wifi: mac80211: provide link ID in link_conf
It might be useful to drivers to be able to pass only the
link_conf pointer, rather than both the pointer and the
link_id; add the link_id to the link_conf to facility that.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r-- | net/mac80211/iface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index fbb9c9c291b9..312a812bec84 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c @@ -390,6 +390,7 @@ static void ieee80211_link_init(struct ieee80211_sub_if_data *sdata, link->sdata = sdata; link->link_id = link_id; link->conf = link_conf; + link_conf->link_id = link_id; INIT_WORK(&link->csa_finalize_work, ieee80211_csa_finalize_work); |