yamt commented on code in PR #15445:
URL: https://github.com/apache/nuttx/pull/15445#discussion_r1905011198


##########
net/utils/net_lock.c:
##########
@@ -135,6 +135,9 @@ _net_timedwait(FAR sem_t *sem, bool interruptible, unsigned 
int timeout)
 
 int net_lock(void)
 {
+  extern mutex_t g_wifiexcl_lock;
+  DEBUGASSERT(nxrmutex_is_hold(&g_netlock) ||
+              !nxmutex_is_hold(&g_wifiexcl_lock));

Review Comment:
   this assumes esp32s3_wifi_adapter.c (thus CI failure is expected)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to