mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Completes conversion of CONFIG_NET_BUFIZE to CONFIG_NET_ETH/SLIP_MTU
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
void devif_iob_send(FAR struct net_driver_s *dev, FAR struct iob_s *iob,
|
||||
unsigned int len, unsigned int offset)
|
||||
{
|
||||
DEBUGASSERT(dev && len > 0 && len < CONFIG_NET_BUFSIZE);
|
||||
DEBUGASSERT(dev && len > 0 && len < NET_LL_MTU(dev));
|
||||
|
||||
/* Copy the data from the I/O buffer chain to the device buffer */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user