Skip to content
Snippets Groups Projects
Unverified Commit b6069eb5 authored by Marian Buschsieweke's avatar Marian Buschsieweke
Browse files

netdev_driver_t::recv: Fixed preconditions in doc

Removed the invalid precondition in netdev_driver_t::recv that the buffer never
NULL and the length positive. (In the "get message size" case both is wrong, in
the drop message case the first part is wrong.)
parent 66e45328
No related branches found
No related tags found
No related merge requests found
...@@ -313,7 +313,6 @@ typedef struct netdev_driver { ...@@ -313,7 +313,6 @@ typedef struct netdev_driver {
* @brief Get a received frame * @brief Get a received frame
* *
* @pre `(dev != NULL)` * @pre `(dev != NULL)`
* @pre `(buf != NULL) && (len > 0)`
* *
* Supposed to be called from * Supposed to be called from
* @ref netdev_t::event_callback "netdev->event_callback()" * @ref netdev_t::event_callback "netdev->event_callback()"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment