mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
mm/iob: Add support for increasing length in iob_update_pktlen
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
This commit is contained in:
committed by
Masayuki Ishikawa
parent
2fa68fbddd
commit
d44e19d115
@@ -109,7 +109,7 @@ void arp_format(FAR struct net_driver_s *dev, in_addr_t ipaddr)
|
||||
|
||||
/* Update device buffer length */
|
||||
|
||||
iob_update_pktlen(dev->d_iob, sizeof(struct arp_hdr_s));
|
||||
iob_update_pktlen(dev->d_iob, sizeof(struct arp_hdr_s), false);
|
||||
}
|
||||
|
||||
#endif /* CONFIG_NET_ARP */
|
||||
|
||||
Reference in New Issue
Block a user