Skip to content

Commit ad244d1

Browse files
author
Jarkko Paso
committed
MAC: changed CCA and TX fail trace level to debug
1 parent 496074a commit ad244d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/MAC/IEEE802_15_4/mac_mcps_sap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,15 +1316,15 @@ 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");
1319+
tr_debug("MAC CCA fail");
13201320
/* CCA fail */
13211321
//rf_mac_setup->cca_failure++;
13221322
buf->status = MLME_BUSY_CHAN;
13231323
} else {
13241324
sw_mac_stats_update(rf_mac_setup, STAT_MAC_TX_COUNT, buf->mac_payload_length);
13251325
if (m_event == MAC_TX_FAIL) {
13261326
sw_mac_stats_update(rf_mac_setup, STAT_MAC_TX_FAIL, 0);
1327-
tr_error("MAC tx fail");
1327+
tr_debug("MAC tx fail");
13281328
buf->status = MLME_TX_NO_ACK;
13291329
} else if (m_event == MAC_TX_DONE) {
13301330
if (mac_is_ack_request_set(buf) == false) {

0 commit comments

Comments
 (0)