diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-07-15 15:11:50 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-07-15 15:12:45 +0200 |
commit | bd363ee5330250b93cb1e0e16c1c54682fcbe595 (patch) | |
tree | 4e9dc3c758a77dceab04b3e48e81a8ff118b6331 /net/mac80211 | |
parent | 8f5d9e68c90dd6b01afdfda6d9926c6ea4931c00 (diff) | |
download | linux-bd363ee5330250b93cb1e0e16c1c54682fcbe595.tar.bz2 |
wifi: mac80211: mlme: set sta.mlo correctly
Due to some changes and rebasing between different patches
this fell through the cracks; we need to set sta.mlo if the
connection is using MLO.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/mlme.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index e4e501f2713e..912095e4e256 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -6402,6 +6402,8 @@ static int ieee80211_prep_connection(struct ieee80211_sub_if_data *sdata, err = -ENOMEM; goto out_err; } + + new_sta->sta.mlo = link_id >= 0; } /* |