Skip to content

Commit 2b8d2e1

Browse files
author
Jarkko Paso
authored
Do not reset radio when MAC data request timeouts (ARMmbed#2647)
1 parent 95c506a commit 2b8d2e1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

source/MAC/IEEE802_15_4/mac_mcps_sap.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,12 +1458,6 @@ static void mac_common_data_confirmation_handle(protocol_interface_rf_mac_setup_
14581458
} else if (m_event == MAC_TX_DONE_PENDING) {
14591459
buf->status = MLME_SUCCESS;
14601460
} else if (m_event == MAC_TX_TIMEOUT) {
1461-
/* Make MAC Soft Reset */;
1462-
tr_debug("Driver TO event");
1463-
//Disable allways
1464-
mac_mlme_mac_radio_disabled(rf_mac_setup);
1465-
//Enable Radio
1466-
mac_mlme_mac_radio_enable(rf_mac_setup);
14671461
buf->status = MLME_TRANSACTION_EXPIRED;
14681462
} else if (m_event == MAC_UNKNOWN_DESTINATION) {
14691463
buf->status = MLME_UNAVAILABLE_KEY;

0 commit comments

Comments
 (0)