fix(nimble): Add npl locks to avoid race condition (v6.0)

This commit is contained in:
Sumeet Singh
2026-06-29 15:45:00 +05:30
committed by Rahul Tank
parent b0f278ec19
commit 5dfb38a6d3
3 changed files with 265 additions and 43 deletions
@@ -182,7 +182,6 @@ static void ble_hci_rx_acl(uint8_t *data, uint16_t len)
{
struct os_mbuf *m = NULL;
int rc;
int sr;
int retry_count = 1;
@@ -216,9 +215,7 @@ static void ble_hci_rx_acl(uint8_t *data, uint16_t len)
os_mbuf_free_chain(m);
return;
}
OS_ENTER_CRITICAL(sr);
ble_transport_to_hs_acl(m);
OS_EXIT_CRITICAL(sr);
}
#endif