Message ID | 20231031184750.722404-2-prestwoj@gmail.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Series | DPP PKEX Changes | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
prestwoj/iwd-alpine-ci-fetch | success | Fetch PR |
prestwoj/iwd-ci-fetch | success | Fetch PR |
prestwoj/iwd-ci-gitlint | success | GitLint |
prestwoj/iwd-alpine-ci-makedistcheck | success | Make Distcheck |
prestwoj/iwd-ci-makedistcheck | success | Make Distcheck |
prestwoj/iwd-alpine-ci-build | success | Build - Configure |
prestwoj/iwd-ci-build | success | Build - Configure |
prestwoj/iwd-alpine-ci-makecheckvalgrind | success | Make Check w/Valgrind |
prestwoj/iwd-alpine-ci-makecheck | success | Make Check |
prestwoj/iwd-ci-clang | success | clang PASS |
prestwoj/iwd-ci-makecheckvalgrind | success | Make Check w/Valgrind |
prestwoj/iwd-ci-makecheck | success | Make Check |
prestwoj/iwd-alpine-ci-incremental_build | success | Incremental Build with patches |
prestwoj/iwd-ci-incremental_build | success | Incremental Build with patches |
prestwoj/iwd-ci-testrunner | success | test-runner PASS |
Hi James, On 10/31/23 13:47, James Prestwood wrote: > Stopping periodic scans and not restarting them prevents autoconnect > from working again if DPP (or the post-DPP connect) fails. Since > the DPP offchannel work is at a higher priority than scanning (and > since new offchannels are queue'd before canceling) there is no risk > of a scan happening during DPP so its safe to leave periodic scans > running. > --- > src/dpp.c | 4 ---- > 1 file changed, 4 deletions(-) > Patches 1 - 5 applied, thanks. Regards, -Denis
diff --git a/src/dpp.c b/src/dpp.c index 638d65e0..cfdfaa38 100644 --- a/src/dpp.c +++ b/src/dpp.c @@ -2553,8 +2553,6 @@ static struct l_dbus_message *dpp_dbus_start_enrollee(struct l_dbus *dbus, */ dpp_start_presence(dpp, &freq, 1); - scan_periodic_stop(dpp->wdev_id); - dpp_property_changed_notify(dpp); return NULL; @@ -2685,8 +2683,6 @@ static struct l_dbus_message *dpp_start_configurator_common( network_get_ssid(network), hs->akm_suite); - scan_periodic_stop(dpp->wdev_id); - dpp_property_changed_notify(dpp); l_debug("DPP Start Configurator: %s", dpp->uri);