Selaa lähdekoodia

qcacmn: Don't handle assoc vdev roam if link vdev failed

If link vdev roam sync failed and new dp mlo peer wasn't created,
assoc vdev roam sync was still handled, dp peer update failed
and asserted for mlo peer not found.

To fix it, if link vdev roam sync failed, return to trigger HO_FAIL,
don't handle assoc vdev roam sync.

Change-Id: I47aa70723cd741839cdb8fb21d446730a8ed80e5
CRs-Fixed: 3468553
Jianmin Zhu 2 vuotta sitten
vanhempi
sitoutus
07390f2011
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      umac/mlme/connection_mgr/core/src/wlan_cm_roam_sm.c

+ 3 - 1
umac/mlme/connection_mgr/core/src/wlan_cm_roam_sm.c

@@ -462,8 +462,10 @@ bool cm_subst_roam_sync_event(void *ctx, uint16_t event,
 	case WLAN_CM_SM_EV_ROAM_SYNC:
 #ifdef WLAN_FEATURE_11BE_MLO_ADV_FEATURE
 		status = mlo_cm_roam_sync_cb(cm_ctx->vdev, data, data_len);
-		if (QDF_IS_STATUS_ERROR(status))
+		if (QDF_IS_STATUS_ERROR(status)) {
 			event_handled = false;
+			break;
+		}
 #endif
 		status = cm_fw_send_vdev_roam_event(cm_ctx, data_len, data);
 		if (QDF_IS_STATUS_ERROR(status))