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

dpp: stop periodic scanning when starting DPP

This commit is contained in:
James Prestwood 2022-01-12 10:08:42 -08:00 committed by Denis Kenzior
parent 34348fcb42
commit bbfcdf0ac7

View File

@ -1809,6 +1809,8 @@ 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);
return NULL;
}
@ -1857,6 +1859,8 @@ static struct l_dbus_message *dpp_dbus_start_configurator(struct l_dbus *dbus,
network_get_ssid(network),
hs->akm_suite);
scan_periodic_stop(dpp->wdev_id);
l_debug("DPP Start Configurator: %s", dpp->uri);
reply = l_dbus_message_new_method_return(message);