diff --git a/pkg/nimble/netif/nimble_netif.c b/pkg/nimble/netif/nimble_netif.c index 1c2e38e7485e..9485cad1f8c0 100644 --- a/pkg/nimble/netif/nimble_netif.c +++ b/pkg/nimble/netif/nimble_netif.c @@ -142,7 +142,7 @@ static int _send_pkt(nimble_netif_conn_t *conn, gnrc_pktsnip_t *pkt) if ((res != 0) && (res != BLE_HS_ESTALLED)) { os_mbuf_free_chain(sdu); - return -ENOBUFS; + return -ECANCELED; } return num_bytes;