drivers/net/telnet.c: Add missing logic to set read event flags in poll() method.
This commit is contained in:
parent
78f3ea6657
commit
92104149e8
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user