瀏覽代碼

qcacld-3.0: Handle link specific reassociation response generation failure

For MLO roaming when link specific re-association response generation
fails abort roaming.

Change-Id: I116891ff08942f661fdedc0ffbef5bd914253b66
CRs-Fixed: 3273488
Amruta Kulkarni 2 年之前
父節點
當前提交
c0e0594781
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      core/mac/src/pe/lim/lim_api.c

+ 5 - 2
core/mac/src/pe/lim/lim_api.c

@@ -2789,11 +2789,14 @@ pe_roam_synch_callback(struct mac_context *mac_ctx,
 	reassoc_resp = (uint8_t *)roam_sync_ind_ptr +
 			roam_sync_ind_ptr->reassocRespOffset;
 
-	if (wlan_vdev_mlme_get_is_mlo_link(mac_ctx->psoc, vdev_id))
-		lim_gen_link_specific_assoc_rsp(mac_ctx,
+	if (wlan_vdev_mlme_get_is_mlo_link(mac_ctx->psoc, vdev_id)) {
+		status = lim_gen_link_specific_assoc_rsp(mac_ctx,
 						ft_session_ptr,
 						reassoc_resp,
 						roam_sync_ind_ptr->reassocRespLength);
+		if (QDF_IS_STATUS_ERROR(status))
+			return status;
+	}
 	else
 		lim_process_assoc_rsp_frame(mac_ctx, reassoc_resp,
 					    roam_sync_ind_ptr->reassocRespLength,