From 5111bef5aa27a6b157b1d0041ec9ed535a8f85fb Mon Sep 17 00:00:00 2001 From: Jose Alamos Date: Fri, 20 Aug 2021 10:53:25 +0200 Subject: [PATCH] drivers/nrf802154: fix write return value --- cpu/nrf52/radio/nrf802154/nrf802154_radio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/nrf52/radio/nrf802154/nrf802154_radio.c b/cpu/nrf52/radio/nrf802154/nrf802154_radio.c index 28b3019f23..4de3e83521 100644 --- a/cpu/nrf52/radio/nrf802154/nrf802154_radio.c +++ b/cpu/nrf52/radio/nrf802154/nrf802154_radio.c @@ -174,7 +174,7 @@ static int _write(ieee802154_dev_t *dev, const iolist_t *iolist) /* specify the length of the package. */ txbuf[0] = len + IEEE802154_FCS_LEN; - return len; + return 0; } static int _confirm_transmit(ieee802154_dev_t *dev, ieee802154_tx_info_t *info)