Completes conversion of CONFIG_NET_BUFIZE to CONFIG_NET_ETH/SLIP_MTU

This commit is contained in:
Gregory Nutt
2014-11-16 09:22:38 -06:00
parent b9cd425bc2
commit 859748a94e
10 changed files with 56 additions and 36 deletions
+1 -1
View File
@@ -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 */