mirror of
https://github.com/apache/nuttx.git
synced 2026-05-15 21:19:09 +08:00
06a10202af
If the current poll setup only has POLLIN, adding POLLOUT does not cause the protocol stack to refocus on flags such as TCP_ACK or UDP_POLL, the user is not notified when flags for POLLOUT relationships appear and vice versa, so we have to call poll_setup again. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>