Skip to content

Commit cd109c3

Browse files
author
Jarkko Paso
authored
Clear Ack tx and tx process in MAC reset (ARMmbed#2601)
1 parent 45504fd commit cd109c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/MAC/IEEE802_15_4/mac_mlme.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,8 @@ int8_t mac_mlme_reset(protocol_interface_rf_mac_setup_s *rf_mac_setup, const mlm
449449
rf_mac_setup->macWaitingData = false;
450450
rf_mac_setup->macDataPollReq = false;
451451
rf_mac_setup->macRxDataAtPoll = false;
452+
rf_mac_setup->macTxProcessActive = false;
453+
rf_mac_setup->mac_ack_tx_active = false;
452454
//Clean MAC
453455
if (reset->SetDefaultPIB) {
454456
tr_debug("RESET MAC PIB");

0 commit comments

Comments
 (0)