rpmsg_socket: defalut set POLLERR POLLHUP to events
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
ba990619ed
commit
9c106c1bdc
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue