You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2022/03/17 07:42:47 UTC

[GitHub] [mynewt-nimble] andrzej-kaczmarek commented on a change in pull request #1200: nimble/transport: Refactor HCI transport

andrzej-kaczmarek commented on a change in pull request #1200:
URL: https://github.com/apache/mynewt-nimble/pull/1200#discussion_r828830498



##########
File path: nimble/controller/src/ble_ll_conn_hci.c
##########
@@ -76,7 +75,7 @@ ble_ll_init_alloc_conn_comp_ev(void)
     rc = 0;
     evbuf = g_ble_ll_conn_comp_ev;
     if (evbuf == NULL) {
-        evbuf = ble_hci_trans_buf_alloc(BLE_HCI_TRANS_BUF_EVT_HI);
+        evbuf =ble_transport_alloc_evt(0);

Review comment:
       the parameter name is `discardable` so it's pretty clear what `0` and `1` mean here




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org