Missing file change for previous driver-based UDP backlog from Max Holtzberg

This commit is contained in:
Gregory Nutt 2013-09-06 10:19:07 -06:00
parent 209946a055
commit 417f2006aa

View File

@ -953,6 +953,10 @@ static ssize_t udp_recvfrom(FAR struct socket *psock, FAR void *buf, size_t len,
uip_udpenable(conn); uip_udpenable(conn);
/* Notify the device driver of the receive call */
netdev_rxnotify(&conn->ripaddr);
/* Wait for either the receive to complete or for an error/timeout to occur. /* Wait for either the receive to complete or for an error/timeout to occur.
* NOTES: (1) uip_lockedwait will also terminate if a signal is received, (2) * NOTES: (1) uip_lockedwait will also terminate if a signal is received, (2)
* interrupts are disabled! They will be re-enabled while the task sleeps * interrupts are disabled! They will be re-enabled while the task sleeps