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 <[email protected]>
AuthorDate: Thu Feb 3 15:30:11 2022 +0800

    arch/xtensa: correct the netlock handling
    
    Signed-off-by: chao.an <[email protected]>
---
 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 ;
         }
 

Reply via email to