Skip to content

Commit 32e22d3

Browse files
Jarkko PasoJuha Heiskanen
authored andcommitted
MAC: Added trace to when CCA fails and packet TX is canceled
1 parent 47b2e03 commit 32e22d3

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
@@ -1316,6 +1316,7 @@ static void mac_common_data_confirmation_handle(protocol_interface_rf_mac_setup_
13161316
timer_mac_stop(rf_mac_setup);
13171317
if (m_event == MAC_CCA_FAIL) {
13181318
sw_mac_stats_update(rf_mac_setup, STAT_MAC_TX_CCA_FAIL, 0);
1319+
tr_error("MAC CCA fail");
13191320
/* CCA fail */
13201321
//rf_mac_setup->cca_failure++;
13211322
buf->status = MLME_BUSY_CHAN;

0 commit comments

Comments
 (0)