diff --git a/features/FEATURE_BLE/targets/TARGET_CORDIO/stack_adaptation/hci_tr.c b/features/FEATURE_BLE/targets/TARGET_CORDIO/stack_adaptation/hci_tr.c index 3e97527799..8bf33a4d48 100644 --- a/features/FEATURE_BLE/targets/TARGET_CORDIO/stack_adaptation/hci_tr.c +++ b/features/FEATURE_BLE/targets/TARGET_CORDIO/stack_adaptation/hci_tr.c @@ -72,7 +72,7 @@ void hciTrSendAclData(void *pContext, uint8_t *pData) /* pData is not freed as the hciDrvWrite took ownership of the WSF buffer */ #else /* free buffer */ - WsfMsgFree(pData); + hciCoreTxAclComplete((hciCoreConn_t *)pContext, pData); #endif // CORDIO_ZERO_COPY_HCI } }