forked from nuttx/nuttx-update
net/pkt: fix raw socket send data length is insufficient.
This commit is contained in:
parent
86c2e429eb
commit
e6962942cb
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ static uint16_t psock_send_eventhandler(FAR struct net_driver_s *dev,
|
||||||
goto end_wait;
|
goto end_wait;
|
||||||
}
|
}
|
||||||
|
|
||||||
dev->d_len = dev->d_sndlen -= NET_LL_HDRLEN(dev);
|
dev->d_len = dev->d_sndlen;
|
||||||
pstate->snd_sent = pstate->snd_buflen;
|
pstate->snd_sent = pstate->snd_buflen;
|
||||||
|
|
||||||
/* Make sure no ARP request overwrites this ARP request. This
|
/* Make sure no ARP request overwrites this ARP request. This
|
||||||
|
|
Loading…
Reference in a new issue