-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Fix scanning in hostap mode #39
Conversation
fae5009
to
8dee936
Compare
For some reason I thought that you were going to add to this PR. Were you? |
I think it's ready, unless you see something that needs addressing? |
Oh actually coverage dropped a bit. I can fox that first |
I didn't see anything obvious. I'll merge after you get back with the coverage update or tell me that the coverage decrease is silly. |
8dee936
to
2f206b8
Compare
Rebased. |
I added the new values to the host mode test. This should bump coverage enough to make coveralls happy. @fhunleth whenever you're ready. |
547585a
to
1f95dcc
Compare
Thanks - I'm trying out AP mode this afternoon. Will merge soon. |
For some reason when booting in host mode, wpa_supplicant creates a control path different than in client mode. This adds the fix initially added in #39
For some reason when booting in host mode, wpa_supplicant creates a control path different than in client mode. This adds the fix initially added in #39
when starting wpa_supplicant in
host
mode, it creates ap2p_dev_wlan0
ctrl_interface instead of the standardwlan0
ctrl_interface. Thescan
ioctl will now check for both of those files and use them rather than always trying to use the standardwlan0
ctrl_interface.This also adds the ability to use
bgscan
which will periodically scan for ssids in the background. This is required because thescan
command towpa_cli
is ignored while inhost
mode.