Skip to content

Commit

Permalink
wifi: mac80211: mlme: set sta.mlo correctly
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jmberg-intel committed Jul 15, 2022
1 parent 8f5d9e6 commit bd363ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down

0 comments on commit bd363ee

Please sign in to comment.