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

andk 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 52d47ad  nimble/ll: Fix rx in advertising state
52d47ad is described below

commit 52d47ada52152cf232092a60cfb7186755c44fc2
Author: Andrzej Kaczmarek <[email protected]>
AuthorDate: Tue Jan 11 00:31:03 2022 +0100

    nimble/ll: Fix rx in advertising state
    
    This typo caused advertising to break on 1st received req PDU...
---
 nimble/controller/src/ble_ll.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nimble/controller/src/ble_ll.c b/nimble/controller/src/ble_ll.c
index 56e81a6..99e8594 100644
--- a/nimble/controller/src/ble_ll.c
+++ b/nimble/controller/src/ble_ll.c
@@ -1136,7 +1136,7 @@ ble_ll_rx_start(uint8_t *rxbuf, uint8_t chan, struct 
ble_mbuf_hdr *rxhdr)
         rc = ble_ll_conn_rx_isr_start(rxhdr, ble_phy_access_addr_get());
         break;
 #endif
-#if MYNEWT_VAL(BLE_LL_ROLE_BROADCASTERL)
+#if MYNEWT_VAL(BLE_LL_ROLE_BROADCASTER)
     case BLE_LL_STATE_ADV:
         rc = ble_ll_adv_rx_isr_start(pdu_type);
         break;

Reply via email to