3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:12:48 +01:00

dpp: remove scan_periodic_stop calls

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.
This commit is contained in:
James Prestwood 2023-10-31 11:47:42 -07:00 committed by Denis Kenzior
parent 320041eaf2
commit a943a81f87

View File

@ -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);