Skip to content

Commit e3d91a6

Browse files
benzeajmberg-intel
authored andcommitted
wifi: mac80211: pass correct link ID on assoc
The link ID passed to drv_mgd_complete_tx when handling the association response was not set. Signed-off-by: Benjamin Berg <[email protected]> Reviewed-by: Johannes Berg <[email protected]> Signed-off-by: Miri Korenblit <[email protected]> Link: https://patch.msgid.link/20250102161730.2b06504ecaef.Ifb94e9375b910de6cdd2e5865d8cb3ab9790b314@changeid Signed-off-by: Johannes Berg <[email protected]>
1 parent 63a5988 commit e3d91a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

net/mac80211/mlme.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5976,6 +5976,8 @@ static void ieee80211_rx_mgmt_assoc_resp(struct ieee80211_sub_if_data *sdata,
59765976
if (!assoc_data)
59775977
return;
59785978

5979+
info.link_id = assoc_data->assoc_link_id;
5980+
59795981
parse_params.mode =
59805982
assoc_data->link[assoc_data->assoc_link_id].conn.mode;
59815983

0 commit comments

Comments
 (0)