net/tcp/tcp_netpoll.c: 'if' should have been 'else if'
This commit is contained in:
parent
d533cc53df
commit
11d181d3d3
@ -215,8 +215,8 @@ static inline void tcp_iob_work(FAR void *arg)
|
||||
* event. If so, don't do it again and don't setup notification again.
|
||||
*/
|
||||
|
||||
if ((fds->events && POLLWRNORM) == 0 ||
|
||||
(fds->revents && POLLWRNORM) != 0)
|
||||
else if ((fds->events && POLLWRNORM) == 0 ||
|
||||
(fds->revents && POLLWRNORM) != 0)
|
||||
{
|
||||
/* Check if we are now able to send */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user