You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2025/08/20 21:41:31 UTC

(mynewt-nimble) branch master updated: nimble/phy/cmac: Remove redundant assert

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 b0f06d8da nimble/phy/cmac: Remove redundant assert
b0f06d8da is described below

commit b0f06d8da8b8c4963b17ccfdc21eb91472c040be
Author: Mariusz Skamra <ma...@codecoup.pl>
AuthorDate: Wed Aug 20 15:50:40 2025 +0200

    nimble/phy/cmac: Remove redundant assert
    
    The assert was originally added for debugging purposes a long time ago.
    It has been reported to cause issues in DTM, so it is now removed to
    prevent further problems.
---
 nimble/drivers/dialog_cmac/src/ble_phy.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/nimble/drivers/dialog_cmac/src/ble_phy.c b/nimble/drivers/dialog_cmac/src/ble_phy.c
index c077f25ff..de7024b46 100644
--- a/nimble/drivers/dialog_cmac/src/ble_phy.c
+++ b/nimble/drivers/dialog_cmac/src/ble_phy.c
@@ -1365,8 +1365,6 @@ ble_phy_rx_set_start_time(uint32_t cputime, uint8_t rem_usecs)
     ble_phy_mode_apply(g_ble_phy_data.phy_mode_rx);
 #endif
 
-    assert(ble_rf_is_enabled());
-
     ble_phy_rx();
 
     /* Store LLT value at RX start, we'll need this to set wfr */