Skip to content

Commit eb5ba30

Browse files
author
Juha Heiskanen
committed
Fixed Driver Tx done callback missing error return values.
1 parent 1a9acbd commit eb5ba30

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/MAC/IEEE802_15_4/sw_mac.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,8 +587,7 @@ static int8_t sw_mac_net_phy_tx_done(int8_t driver_id, uint8_t tx_handle, phy_li
587587
phy_msg.message.mac15_4_pd_sap_confirm.cca_retry = cca_retry;
588588
phy_msg.message.mac15_4_pd_sap_confirm.tx_retry = tx_retry;
589589

590-
mac_pd_sap_data_cb(driver->phy_sap_identifier, &phy_msg);
591-
return 0;
590+
return mac_pd_sap_data_cb(driver->phy_sap_identifier, &phy_msg);
592591
}
593592

594593
static void bc_enable_timer_cb(int8_t timer_id, uint16_t slots)

0 commit comments

Comments
 (0)