drivers/net/telnet.c: Add missing logic to set read event flags in poll() method.

This commit is contained in:
Ken Pettit 2019-01-08 08:16:43 -06:00 committed by Gregory Nutt
parent 78f3ea6657
commit 92104149e8

View File

@ -1103,6 +1103,7 @@ static int telnet_poll(FAR struct file *filep, FAR struct pollfd *fds,
{
/* Yes.. then signal the poll logic */
fds->revents |= (POLLRDNORM & fds->events);
nxsem_post(fds->sem);
}