mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Wi-Fi: Fix the non stop scanning introduced by a recent PR.
This commit is contained in:
@@ -643,12 +643,12 @@ Singleton {
|
||||
onStreamFinished: {
|
||||
if (text && text.trim()) {
|
||||
Logger.w("Network", "Profile check stderr:", text.trim());
|
||||
}
|
||||
// Fail safe
|
||||
if (root.scanning) {
|
||||
root.scanning = false;
|
||||
delayedScanTimer.interval = 5000;
|
||||
delayedScanTimer.restart();
|
||||
// Fail safe - only restart scan on actual error
|
||||
if (root.scanning) {
|
||||
root.scanning = false;
|
||||
delayedScanTimer.interval = 5000;
|
||||
delayedScanTimer.restart();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user