Skip to content

Commit

Permalink
Merge pull request ARMmbed#1847 from ARMmbed/eAck_mac_timer_fix
Browse files Browse the repository at this point in the history
MAC: Stop active MAC timer before sending enhanced Ack
  • Loading branch information
Jarkko Paso committed Oct 2, 2018
2 parents 5836b50 + 68bad00 commit fe84585
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/MAC/IEEE802_15_4/mac_mcps_sap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1752,6 +1752,7 @@ int8_t mcps_generic_ack_build(protocol_interface_rf_mac_setup_s *rf_ptr, const m
csma_params.cca_enabled = false;
rf_ptr->dev_driver->phy_driver->extension(PHY_EXTENSION_SET_CSMA_PARAMETERS, (uint8_t*) &csma_params);
if (rf_ptr->active_pd_data_request) {
timer_mac_stop(rf_ptr);
mac_pd_sap_set_phy_tx_time(rf_ptr, 0, false);
}
return mcps_pd_data_cca_trig(rf_ptr, buffer);
Expand Down

0 comments on commit fe84585

Please sign in to comment.