|
@@ -3605,6 +3605,12 @@ lim_gen_link_specific_probe_rsp(struct mac_context *mac_ctx,
|
|
|
if (!session_entry->lim_join_req)
|
|
|
return status;
|
|
|
|
|
|
+ partner_info = &session_entry->lim_join_req->partner_info;
|
|
|
+ if (!partner_info->num_partner_links) {
|
|
|
+ pe_debug("No partner link info since supports 1 link only");
|
|
|
+ return status;
|
|
|
+ }
|
|
|
+
|
|
|
if (session_entry->lim_join_req->is_ml_probe_req_sent &&
|
|
|
rcvd_probe_resp->mlo_ie.mlo_ie_present) {
|
|
|
|
|
@@ -3636,13 +3642,6 @@ lim_gen_link_specific_probe_rsp(struct mac_context *mac_ctx,
|
|
|
goto end;
|
|
|
}
|
|
|
|
|
|
- partner_info = &session_entry->lim_join_req->partner_info;
|
|
|
- if (!partner_info->num_partner_links) {
|
|
|
- pe_err("Partner link info not available");
|
|
|
- status = QDF_STATUS_E_FAILURE;
|
|
|
- goto end;
|
|
|
- }
|
|
|
-
|
|
|
/* Currently only 2 link mlo is supported */
|
|
|
link_info = &partner_info->partner_link_info[0];
|
|
|
wlan_get_chan_by_bssid_from_rnr(session_entry->vdev,
|