fix:Temporarily remove udp send large pkt assert
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
parent
11807abd4e
commit
931a64717a
@ -55,7 +55,12 @@
|
||||
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 < NETDEV_PKTSIZE(dev));
|
||||
if (dev == NULL || len == 0 || len >= NETDEV_PKTSIZE(dev))
|
||||
{
|
||||
nerr("devif_iob_send error, %p, send len: %u, pkt len: %u\n",
|
||||
dev, len, NETDEV_PKTSIZE(dev));
|
||||
return;
|
||||
}
|
||||
|
||||
/* Copy the data from the I/O buffer chain to the device buffer */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user