This is an automated email from the ASF dual-hosted git repository.

sjanc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new c799e01f4 nimble/transport: Fix Nuttx socket build
c799e01f4 is described below

commit c799e01f4abdcfc381a5c4dfdc7277f181fb25af
Author: Szymon Janc <[email protected]>
AuthorDate: Tue Jun 9 10:31:55 2026 +0200

    nimble/transport: Fix Nuttx socket build
    
    There was a typo in MYNEWT_VAL_CHOICE name when buidling for NuttX.
---
 nimble/transport/socket/src/ble_hci_socket.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nimble/transport/socket/src/ble_hci_socket.c 
b/nimble/transport/socket/src/ble_hci_socket.c
index ccd67855d..3ce9dc7bd 100644
--- a/nimble/transport/socket/src/ble_hci_socket.c
+++ b/nimble/transport/socket/src/ble_hci_socket.c
@@ -318,7 +318,7 @@ ble_hci_sock_cmdevt_tx(uint8_t *hci_ev, uint8_t h4_type)
 }
 #endif
 
-#if MYNEWT_VAL_CHOICE(BLE_SOCK_TYPE, linux_nuttx)
+#if MYNEWT_VAL_CHOICE(BLE_SOCK_TYPE, nuttx)
 static int
 ble_hci_sock_acl_tx(struct os_mbuf *om)
 {
@@ -725,7 +725,7 @@ err:
 }
 #endif
 
-#if MYNEWT_VAL_CHOICE(BLE_SOCK_TYPE, linux_nuttx)
+#if MYNEWT_VAL_CHOICE(BLE_SOCK_TYPE, nuttx)
 static int
 ble_hci_sock_config(void)
 {

Reply via email to