New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TW#26702] Wifi driver alloc esf_buf failed when disconnect previous AP then connect to new AP #2545
Comments
Any suggestion? |
I solve this issue. Call wifi api incorrectly may trigger wifi state machine to a wrong state. |
@outermanle could you post a code example before/after the fix, so e.g people finding this on google can find how to solve it? |
In my case, I call esp disable sniffer api before disconnect wifi, then error occurs, 100% reproduce it. We should follow the wifi state machine designed by esp, document refer to https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/wifi.html#wi-fi-connect-phase sometimes we call esp wifi api may trigger bug, then we may test other implement way or we can report bug with details. |
…enabled at the same time, when disable sniffer, station will never enable phy and rf again. Closes: #2545
Environment
Problem Description
Expected Behavior
Normally disconnect and try to connect another AP.
Actual Behavior
Wifi driver alloc buf failed.
Steps to repropduce
100% reproduce this issue.
get the same error log after change sdkconfig
Debug Logs
The text was updated successfully, but these errors were encountered: