zhhyu7 commented on code in PR #18428:
URL: https://github.com/apache/nuttx/pull/18428#discussion_r2845433280


##########
drivers/usbdev/rndis.c:
##########
@@ -2752,6 +2752,25 @@ static void usbclass_resetconfig(FAR struct rndis_dev_s 
*priv)
     }
 }
 
+/****************************************************************************
+ * Name: rndis_ifup_work
+ *
+ * Description:
+ *   Schedule to work queue because netdev_carrier_on API can't be used in

Review Comment:
   > how about move the interrupt context check and queue wwork inisde 
netdev_carrier_on/netdev_carrier_off
   
   @xiaoxiang781216 Add an additional struct work specifically for 
netdev_carrier_on/netdev_carrier_off in the net_driver_s structure? 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to