瀏覽代碼

qcacld-3.0: Update call to get ml partner info as per new api change

As per new API changes, util_scan_get_ml_partner_info is modified to
pass the output pointer to ml partner info structure. Update caller
accordingly

Change-Id: I4da4a52a857eb147fe74f783136da71252e04444
CRs-Fixed: 3043820
Bapiraju Alla 3 年之前
父節點
當前提交
b4cc340c47
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      components/umac/mlme/connection_mgr/core/src/wlan_cm_vdev_connect.c

+ 6 - 2
components/umac/mlme/connection_mgr/core/src/wlan_cm_vdev_connect.c

@@ -1053,8 +1053,12 @@ QDF_STATUS cm_flush_join_req(struct scheduler_msg *msg)
 #ifdef WLAN_FEATURE_11BE_MLO
 static void cm_fill_ml_info(struct cm_vdev_join_req *join_req)
 {
-	join_req->partner_info = util_scan_get_ml_partner_info(join_req->entry);
-	join_req->assoc_link_id = join_req->entry->ml_info.self_link_id;
+	if (QDF_IS_STATUS_SUCCESS(
+		util_scan_get_ml_partner_info(join_req->entry,
+					      &join_req->partner_info))) {
+		join_req->assoc_link_id = join_req->entry->ml_info.self_link_id;
+		mlme_debug("Assoc link ID:%d", join_req->assoc_link_id);
+	}
 }
 #else
 static void cm_fill_ml_info(struct cm_vdev_join_req *join_req)