raiden00pl commented on code in PR #19469:
URL: https://github.com/apache/nuttx/pull/19469#discussion_r3645270074


##########
drivers/usbdev/cdcncm.c:
##########
@@ -1302,8 +1302,18 @@ static int cdcncm_send(FAR struct netdev_lowerhalf_s 
*dev, FAR netpkt_t *pkt)
     }
   else
     {
-      work_queue(ETHWORK, &self->delaywork, cdcncm_transmit_work, self,
-                 MSEC2TICK(CDCNCM_DGRAM_COMBINE_PERIOD));
+      /* Defer the transmit to the work thread so the caller is not blocked

Review Comment:
   another too long docstring. Do we really need so long docstring? Claude is 
very verbose by default



-- 
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