Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix,wifi: allow connecting to WPA AP's with no password #54

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

ldelossa
Copy link
Owner

@ldelossa ldelossa commented Aug 9, 2024

Prior to this commit there was a misunderstanding in how to identity WIFI APs without password protection.

The nm_access_point_get_wpa_flags and nm_access_point_get_rsn_flags should be used instead of the general nm_access_point_get_flags flags.

This is because an AP can still advertise WPA abilities without having a password enabled.

We actually don't care too much about the 'general' abilities of an AP, so just check the security related flags.

Prior to this commit there was a misunderstanding in how to identity
WIFI APs without password protection.

The nm_access_point_get_wpa_flags and nm_access_point_get_rsn_flags
should be used instead of the general nm_access_point_get_flags flags.

This is because an AP can still advertise WPA abilities without having a
password enabled.

We actually don't care too much about the 'general' abilities of an AP,
so just check the security related flags.

Signed-off-by: ldelossa <louis.delos@gmail.com>
@ldelossa ldelossa merged commit 5d226c1 into main Aug 9, 2024
@ldelossa ldelossa deleted the fix-detect-wpa-no-password-aps branch August 9, 2024 17:01
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant