fdcavalcanti opened a new pull request, #17115:
URL: https://github.com/apache/nuttx/pull/17115

   ## Summary
   
   - arch/xtensa: fix Wi-Fi netpkt copy error
   Fix an issue where netpkt copy would fail due to wrong return checking 
condition.
   
   
   ## Impact
   
   - Impact on user: Yes. Fixes bug preventing Wi-Fi connection.
   - Impact on build: No.
   - Impact on hardware: ESP32|S2|S3 only.
   - Impact on documentation: No.
   - Impact on security: No.
   - Impact on compatibility: No.
   
   ## Testing
   
   ### Building
   Simply build the wifi defconfig, connect to an AP and ping it.
   
   ### Running
   
   - ./tools/configure.sh esp32s3-devkit:wifi
   - make and flash
   
   ### Results
   Connect to a network, obtain an IP address with renew and attempt a ping:
   
   ```
   wapi psk wlan0 <pass> 3 3
   wapi essid wlan0 <ssid> 1
   renew wlan0
   ```
   
   Pings normally:
   
   ```
   nsh> renew wlan0
   nsh> ifconfig
   wlan0    Link encap:Ethernet HWaddr 70:b8:f6:12:bf:44 at RUNNING mtu 1500
       inet addr:192.168.0.84 DRaddr:192.168.0.1 Mask:255.255.255.0
   nsh> ping -c 1 192.168.0.1
   PING 192.168.0.1 56 bytes of data
   56 bytes from 192.168.0.1: icmp_seq=0 time=30.0 ms
   ```
   


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