rpmsg_socket: defalut set POLLERR POLLHUP to events
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
ba990619ed
commit
9c106c1bdc
@ -216,7 +216,7 @@ static void rpmsg_socket_pollnotify(FAR struct rpmsg_socket_conn_s *conn,
|
||||
|
||||
if (fds)
|
||||
{
|
||||
fds->revents |= (fds->events & eventset);
|
||||
fds->revents |= ((fds->events | POLLERR | POLLHUP) & eventset);
|
||||
|
||||
if (fds->revents != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user