Răsfoiți Sursa

qcacld-3.0: Return proper status in case of ml_mgr channel update

Currently, after updating the 1st partner link channel info form
the probe response frame driver returns the failure. Due to this,
driver has not added the beacon for standby link and age out
happened for the 2th partner link and STA connected with
2 link AP after aging out.

To fix is, To avoid scan aging for 2th partner link, driver
should return correct status in lim_update_mlo_mgr_info()
and add all the partner links info properly in the scan db.

CRs-Fixed: 3598675
Change-Id: I713cc9837c6728983c8154086ef6b46785fba727
Deeksha Gupta 1 an în urmă
părinte
comite
25396041b8
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 2
      core/mac/src/pe/lim/lim_api.c

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

@@ -4013,7 +4013,6 @@ QDF_STATUS lim_update_mlo_mgr_info(struct mac_context *mac_ctx,
 {
 	struct wlan_objmgr_pdev *pdev;
 	struct scan_cache_entry *cache_entry;
-	QDF_STATUS status = QDF_STATUS_E_FAILURE;
 	struct wlan_channel channel;
 
 	pdev = mac_ctx->pdev;
@@ -4038,7 +4037,7 @@ QDF_STATUS lim_update_mlo_mgr_info(struct mac_context *mac_ctx,
 	mlo_mgr_update_ap_channel_info(vdev, link_id, (uint8_t *)link_addr,
 				       channel);
 
-	return status;
+	return QDF_STATUS_SUCCESS;
 }
 #else
 static inline void