eloop: Fix EVENT_TYPE_WRITE with poll()-based eloop
This needs to use POLLOUT instead of POLLIN to get the correct event. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
b682d6a73d
commit
4be921ac60
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ static int eloop_sock_table_set_fds(struct eloop_sock_table *readers,
|
|||
pollfds_map[fd] = pfd;
|
||||
nxt++;
|
||||
}
|
||||
pfd->events |= POLLIN;
|
||||
pfd->events |= POLLOUT;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue