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>
This commit is contained in:
Johannes Berg 2022-07-15 15:11:50 +02:00
parent 8f5d9e68c9
commit bd363ee533
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
/*