drivers/nrf802154: fix write return value

This commit is contained in:
Jose Alamos 2021-08-20 10:53:25 +02:00
parent 8d049005de
commit 5111bef5aa
No known key found for this signature in database
GPG Key ID: F483EB800EF89DD9

View File

@ -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)