This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 012dddf7c960cc8f96f5fb1b20b25456b45da229 Author: Tiago Medicci Serrano <[email protected]> AuthorDate: Fri Aug 4 17:16:49 2023 -0300 esp32s3/wlan: check for all connections on wlan_txpoll This prevents us from getting stuck while polling the different network structures in `devif_poll_connections`. This is useful for Wi-Fi/Bluetooth coexistence, specifically. --- arch/xtensa/src/esp32s3/esp32s3_wlan.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/xtensa/src/esp32s3/esp32s3_wlan.c b/arch/xtensa/src/esp32s3/esp32s3_wlan.c index 44d8a49c64..9a27d1dda9 100644 --- a/arch/xtensa/src/esp32s3/esp32s3_wlan.c +++ b/arch/xtensa/src/esp32s3/esp32s3_wlan.c @@ -638,11 +638,7 @@ static int wlan_txpoll(struct net_driver_s *dev) wlan_cache_txpkt_tail(priv); wlan_transmit(priv); - /* If zero is returned, the polling will continue until - * all connections have been examined. - */ - - return 1; + return OK; } /****************************************************************************
