mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 03:05:40 +08:00
networking: Correct a typo introduced with recent networking changes
This commit is contained in:
@@ -121,7 +121,7 @@ static uint16_t udp_poll_interrupt(FAR struct net_driver_s *dev, FAR void *conn,
|
|||||||
|
|
||||||
if ((flags & NETDEV_DOWN) != 0)
|
if ((flags & NETDEV_DOWN) != 0)
|
||||||
{
|
{
|
||||||
eventset |= ((PULLHUP | POLLERR) & info->fds->events);
|
eventset |= ((POLLHUP | POLLERR) & info->fds->events);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Awaken the caller of poll() is requested event occurred. */
|
/* Awaken the caller of poll() is requested event occurred. */
|
||||||
|
|||||||
Reference in New Issue
Block a user