1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-06 05:28:29 -04:00

network/iwd: improve bad credential handling

related #2804

port: 1.5
(cherry picked from commit 867102b82c)
This commit is contained in:
bbedward
2026-07-10 10:36:22 -04:00
committed by dms-ci[bot]
parent 302cfda2f4
commit b834e82668
7 changed files with 282 additions and 16 deletions
@@ -577,6 +577,12 @@ Singleton {
credentialsRequested = false;
if (credentialsReason === "wrong-password" && credentialsSSID && credentialsSetting === "802-11-wireless-security") {
pendingConnectionSSID = credentialsSSID;
pendingConnectionStartTime = Date.now();
connectionStatus = "connecting";
}
DMSService.sendRequest("network.credentials.submit", params, response => {
if (response.error) {
log.warn("Failed to submit credentials:", response.error);