nimble/ll: Fix ble_ll_sync_rx_isr_end return value
ble_ll_sync_current_sm_over() already disables PHY so there is no
need to do that again when isr_end callback returns. This saves few
us on slow MCUs like CM0.
@@ -748,9 +748,10 @@ ble_ll_sync_rx_isr_end(uint8_t *rxbuf, struct ble_mbuf_hdr *rxhdr)
ble_ll_event_send(&g_ble_ll_sync_sm_current->sync_ev_end);
}
+ /* PHY is disabled here */
ble_ll_sync_current_sm_over();
- return -1;
+ return 1;
}
/**
