diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-05-16 16:00:15 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-06-20 13:55:06 +0300 |
commit | bfd8403adddd09f32033a14bf25be398291e7881 (patch) | |
tree | b0cda44be80f40c82a83b9be634b596c63595f6d /net/mac80211/ocb.c | |
parent | f276e20b182dbfc069d192fda259d85feea71143 (diff) | |
download | linux-bfd8403adddd09f32033a14bf25be398291e7881.tar.xz |
wifi: mac80211: reorg some iface data structs for MLD
Start reorganizing interface related data structures toward
MLD. The most complex part here is for the keys, since we
have to split the various kinds of GTKs off to the link but
still need to use (for WEP) the other keys as a fallback
even for multicast frames.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ocb.c')
-rw-r--r-- | net/mac80211/ocb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/ocb.c b/net/mac80211/ocb.c index d0f0d96b0948..ab2658ad73ce 100644 --- a/net/mac80211/ocb.c +++ b/net/mac80211/ocb.c @@ -182,8 +182,8 @@ int ieee80211_ocb_join(struct ieee80211_sub_if_data *sdata, return -EINVAL; sdata->flags |= IEEE80211_SDATA_OPERATING_GMODE; - sdata->smps_mode = IEEE80211_SMPS_OFF; - sdata->needed_rx_chains = sdata->local->rx_chains; + sdata->deflink.smps_mode = IEEE80211_SMPS_OFF; + sdata->deflink.needed_rx_chains = sdata->local->rx_chains; mutex_lock(&sdata->local->mtx); err = ieee80211_vif_use_channel(sdata, &setup->chandef, |