You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2022/02/03 14:09:27 UTC
[incubator-nuttx] 03/03: arch/xtensa: correct the netlock handling
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/incubator-nuttx.git
commit 3ab557e7484c9dc3739f55f83c86eb3d5a6076a5
Author: chao.an <an...@xiaomi.com>
AuthorDate: Thu Feb 3 15:30:11 2022 +0800
arch/xtensa: correct the netlock handling
Signed-off-by: chao.an <an...@xiaomi.com>
---
arch/xtensa/src/esp32/esp32_emac.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/xtensa/src/esp32/esp32_emac.c b/arch/xtensa/src/esp32/esp32_emac.c
index 0b1d75a..b038aa5 100644
--- a/arch/xtensa/src/esp32/esp32_emac.c
+++ b/arch/xtensa/src/esp32/esp32_emac.c
@@ -1786,6 +1786,7 @@ static void emac_poll_work(void *arg)
{
/* never reach */
+ net_unlock();
return ;
}