Skip to content

Commit 68bad00

Browse files
author
Jarkko Paso
committed
MAC: Stop active MAC timer before sending enhanced Ack
1 parent 5836b50 commit 68bad00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/MAC/IEEE802_15_4/mac_mcps_sap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1752,6 +1752,7 @@ int8_t mcps_generic_ack_build(protocol_interface_rf_mac_setup_s *rf_ptr, const m
17521752
csma_params.cca_enabled = false;
17531753
rf_ptr->dev_driver->phy_driver->extension(PHY_EXTENSION_SET_CSMA_PARAMETERS, (uint8_t*) &csma_params);
17541754
if (rf_ptr->active_pd_data_request) {
1755+
timer_mac_stop(rf_ptr);
17551756
mac_pd_sap_set_phy_tx_time(rf_ptr, 0, false);
17561757
}
17571758
return mcps_pd_data_cca_trig(rf_ptr, buffer);

0 commit comments

Comments
 (0)