diff --git a/src/wifi/model/eht/eht-frame-exchange-manager.cc b/src/wifi/model/eht/eht-frame-exchange-manager.cc index 92221669d..e7182fe1a 100644 --- a/src/wifi/model/eht/eht-frame-exchange-manager.cc +++ b/src/wifi/model/eht/eht-frame-exchange-manager.cc @@ -600,16 +600,18 @@ EhtFrameExchangeManager::CtsAfterMuRtsTimeout(Ptr muRts, const WifiTxV continue; } + std::set linkIds; for (uint8_t linkId = 0; linkId < m_apMac->GetNLinks(); linkId++) { if (linkId != m_linkId && m_mac->GetWifiRemoteStationManager(linkId)->GetEmlsrEnabled(*mldAddress)) { - m_mac->UnblockUnicastTxOnLinks(WifiQueueBlockedReason::USING_OTHER_EMLSR_LINK, - *mldAddress, - {linkId}); + linkIds.insert(linkId); } } + m_mac->UnblockUnicastTxOnLinks(WifiQueueBlockedReason::USING_OTHER_EMLSR_LINK, + *mldAddress, + linkIds); } HeFrameExchangeManager::CtsAfterMuRtsTimeout(muRts, txVector);