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

reinitSCSI: Only platform_network_wifi_join if SSID is present #225

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

jcs
Copy link
Contributor

@jcs jcs commented Jan 7, 2025

I didn't intend for this to be the default behavior and it's just (bad) luck that if you pass null strings to cyw43_arch_wifi_connect_async it will connect to the first available SSID with no security. This is insecure and in my case it's making it hard to test something since there's no current way to leave it unconfigured.

I think users should be required to at least put their SSID in the config even if their network is unencrypted, or use the Wi-Fi DA.

Copy link
Contributor

@erichelgeson erichelgeson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had observed this behavior and thought it was intentional ha! - But yes it does make sense to be explicit here. Thanks for the PR!

@erichelgeson erichelgeson merged commit 24cc0fb into BlueSCSI:main Jan 7, 2025
1 check passed
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.

2 participants