Skip to content

WIFI STA AutoReconnect fix for assocfail reason, Proposed fix for #2501 #6113

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

Merged
merged 1 commit into from
Jan 17, 2022

Conversation

tablatronix
Copy link
Contributor

@tablatronix tablatronix commented Jan 8, 2022

Reliability fix for autoReconnect when assoc_fail, autoReconnect did not work before for these failures.

Summary

Changes behavior of WIFI_REASON_ASSOC_FAIL event when autoReconnect is set, removes WIFI_REASON_ASSOC_FAIL/WL_CONNECT_FAILED so retry waitforconnectresult loop stays active for the retry, was not working before.

Impact

Same behavior if autoReconnect is not enabled, suppress WL_disconnect when it is.
Possible event loop, similar to other events, I see no special checks for avoiding, whole event method need a rewrite, currently prone to bugs

Related links

#2501

Reliability fix for autoReconnect when assoc_fail, autoReconnect did not work before for these failures.

Changes behavior of WIFI_REASON_ASSOC_FAIL event when autoReconnect is set, removes WIFI_REASON_ASSOC_FAIL/WL_CONNECT_FAILED so retry waitforconnectresult loop stays active for the retry, was not working before.
@CLAassistant
Copy link

CLAassistant commented Jan 8, 2022

CLA assistant check
All committers have signed the CLA.

@tablatronix tablatronix changed the title Proposed fix for #2501 WIFI STA AutoReconnect fix for assocfail reason, Proposed fix for #2501 Jan 8, 2022
@me-no-dev me-no-dev merged commit 41d9725 into espressif:master Jan 17, 2022
@me-no-dev
Copy link
Member

Thanks @tablatronix :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants