mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-28 07:51:19 +01:00
Changed the API of `netdev_driver_t`: - The `send()` function should no longer return the number of bytes and should not block - The upper layer now must call the new `confirm_send()` function after calling `send()`; either busy waiting until something different to `-EBUSY` is returned, or after `NETDEV_EVENT_TX_COMPLETE` was signaled During transition to the new API, the upper layer must remain backward compatible and must assume the legacy API if `netdev_driver_t::confirm_send()` is `NULL`.