diff --git a/src/ap/ap_drv_ops.c b/src/ap/ap_drv_ops.c
index 0b83a67..5ab76d9 100644
--- a/src/ap/ap_drv_ops.c
+++ b/src/ap/ap_drv_ops.c
@@ -837,12 +837,28 @@ int hostapd_driver_scan(struct hostapd_data *hapd,
 
 			h_hapd = h_iface->bss[0];
 
-			if (hostapd_is_ml_partner(hapd, h_hapd) &&
-			    h_hapd->iface->state == HAPD_IFACE_ACS) {
+			if (!hostapd_is_ml_partner(hapd, h_hapd) ||
+			    h_hapd->iface->state != HAPD_IFACE_ACS)
+				continue;
+
+			/* The partner has a scan in flight: wait for it. */
+			if (h_hapd->iface->scan_cb) {
 				wpa_printf(MSG_INFO,
 					   "ACS in progress in a partner link - try to scan later");
 				return -EBUSY;
 			}
+
+			/*
+			 * Both links are still waiting to start their ACS scan:
+			 * let the lowest link id go first so the scans serialise
+			 * instead of deferring to each other forever.
+			 */
+			if (h_hapd->mld_link_id < hapd->mld_link_id) {
+				wpa_printf(MSG_INFO,
+					   "Partner link %d starts ACS first - try to scan later",
+					   h_hapd->mld_link_id);
+				return -EBUSY;
+			}
 		}
 	}
 #endif /* CONFIG_IEEE80211BE */
