mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
station: Don't autoconnect via debug scans
Scans triggered via the StationDebug interface should not trigger the autoconnect logic.
This commit is contained in:
parent
163fb868c2
commit
514e3b2710
@ -3957,16 +3957,13 @@ static bool station_debug_scan_results(int err, struct l_queue *bss_list,
|
||||
void *userdata)
|
||||
{
|
||||
struct station *station = userdata;
|
||||
bool autoconnect;
|
||||
|
||||
if (err) {
|
||||
station_dbus_scan_done(station);
|
||||
return false;
|
||||
}
|
||||
|
||||
autoconnect = station_is_autoconnecting(station);
|
||||
station_set_scan_results(station, bss_list, freqs, autoconnect);
|
||||
|
||||
station_set_scan_results(station, bss_list, freqs, false);
|
||||
station_dbus_scan_done(station);
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user