File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
nrf_802154/driver/src/mac_features Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments