masayuki2009 commented on PR #6041:
URL: https://github.com/apache/incubator-nuttx/pull/6041#issuecomment-1098560126

   @zhhyu7 
   
   If I modified iovec_do() as follows, spresense:wifi_smp works again.
   
   ```
   diff --git a/net/usrsock/usrsock_dev.c b/net/usrsock/usrsock_dev.c
   index 9102c4950c..6edbec639b 100644
   --- a/net/usrsock/usrsock_dev.c
   +++ b/net/usrsock/usrsock_dev.c
   @@ -143,7 +143,7 @@ static ssize_t iovec_do(FAR void *srcdst, size_t 
srcdstlen,
    
      /* Rewind to correct position. */
    
   -  while (pos >= 0 && iovcnt > 0)
   +  while (pos > 0 && iovcnt > 0)
        {
          if (iov->iov_len <= pos)
            {
   ```


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