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

Check if handshake offloading is supported #82

Merged
merged 3 commits into from
Jan 27, 2025

Conversation

george-hopkins
Copy link
Contributor

ConnectWPAPSK() only works if the driver supports handshake offloading (e.g. brmfmac on a Raspberry Pi with built-in WiFi). By checking support for this feature before attempting to connect, we can return a more descriptive error instead of EINVAL.

Closes: #54

client_linux.go Outdated Show resolved Hide resolved
client_linux.go Outdated Show resolved Hide resolved
client_linux.go Outdated Show resolved Hide resolved
Signed-off-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Ben Kochie <superq@gmail.com>
@SuperQ SuperQ merged commit e38324b into mdlayher:main Jan 27, 2025
6 checks 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.

ConnectWPAPSK error: invalid argument
2 participants