For consistency call periodic_scan_stop() right after netdev signals connected even if station stays in the CONNECTING state because it's waiting for netconfig to finish. --- src/station.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/station.c b/src/station.c index 0b0cc59c..66ddc76e 100644 --- a/src/station.c +++ b/src/station.c @@ -2468,6 +2468,7 @@ static void station_connect_ok(struct station *station) } network_connected(station->connected_network); + periodic_scan_stop(station); if (station->netconfig) netconfig_configure(station->netconfig, -- 2.30.2