Skip to content

Commit 0b135cd

Browse files
ahasztagtmon-nordic
authored andcommitted
nrf_802154: rev 9470a97f6e07d2f3ae09db2e6cefa5edf0b2b9ae
This commit updates revision of the nrf_802154 component. Signed-off-by: Artur Hadasz <[email protected]>
1 parent b501406 commit 0b135cd

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

nrf_802154/driver/src/mac_features/nrf_802154_delayed_trx.c

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -586,16 +586,10 @@ static void transmit_attempt(dly_op_data_t * p_dly_op_data)
586586
{
587587
nrf_802154_log_function_enter(NRF_802154_LOG_VERBOSITY_HIGH);
588588

589-
bool channel_update_success = true;
590-
591-
if (nrf_802154_pib_channel_get() != p_dly_op_data->tx.channel)
592-
{
593-
nrf_802154_pib_channel_set(p_dly_op_data->tx.channel);
594-
channel_update_success = nrf_802154_request_channel_update(REQ_ORIG_DELAYED_TRX);
595-
}
596-
597589
// No need to enqueue transmit attempts. Proceed to transmission immediately
598-
if (channel_update_success)
590+
nrf_802154_pib_channel_set(p_dly_op_data->tx.channel);
591+
592+
if (nrf_802154_request_channel_update(REQ_ORIG_DELAYED_TRX))
599593
{
600594
(void)nrf_802154_request_transmit(NRF_802154_TERM_802154,
601595
REQ_ORIG_DELAYED_TRX,

0 commit comments

Comments
 (0)