Skip to content
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

[nrf noup] wifi: avoid unwanted connect request #366

Conversation

markaj-nordic
Copy link
Contributor

@markaj-nordic markaj-nordic commented Dec 8, 2023

It's pointless to issue a connect request in case no valid SSID has been found.

I may cause the commissioning to fail when the SSID is not found at the first try, because without the return we go on and end up with the Connect() call that does not make sense and triggers a callback that deceptively informs Matter controller that the WiFiNetworkEnable commissioning step failed.

It's pointless to issue a connect request in case
no valid SSID has been found.

Signed-off-by: Marcin Kajor <[email protected]>
@markaj-nordic markaj-nordic force-pushed the 2.5.1-fix-wifi-unexpected-connect branch from 03d1385 to fffa71c Compare December 8, 2023 14:44
@LuDuda LuDuda merged commit 899d210 into nrfconnect:v2.5-branch Dec 8, 2023
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working nrf connect platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants