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

network/iwd: improve bad credential handling

related #2804

port: 1.5
This commit is contained in:
bbedward
2026-07-10 10:36:22 -04:00
parent 4bdb7d17b2
commit 867102b82c
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);