From: Johannes Berg Date: Fri, 15 Jul 2022 13:11:50 +0000 (+0200) Subject: wifi: mac80211: mlme: set sta.mlo correctly X-Git-Tag: block-6.0-2022-08-12~31^2~64^2~54 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=bd363ee53302;p=linux-block.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 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; } /*