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 <benjamin.berg@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250102161730.2b06504ecaef.Ifb94e9375b910de6cdd2e5865d8cb3ab9790b314@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Benjamin Berg 2025-01-02 16:20:04 +02:00 committed by Johannes Berg
parent 63a59880ec
commit e3d91a681c

View File

@ -5976,6 +5976,8 @@ static void ieee80211_rx_mgmt_assoc_resp(struct ieee80211_sub_if_data *sdata,
if (!assoc_data)
return;
info.link_id = assoc_data->assoc_link_id;
parse_params.mode =
assoc_data->link[assoc_data->assoc_link_id].conn.mode;