From: Johannes Berg Date: Fri, 15 Jul 2022 13:11:50 +0000 (+0200) Subject: wifi: mac80211: mlme: set sta.mlo correctly X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bd363ee5330250b93cb1e0e16c1c54682fcbe595;p=linux.git 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 --- diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index e4e501f2713ee..912095e4e256c 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; } /*