mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 902277 - Reset retry counter of WifiWorker after connect to supplicant. r=vchang
This commit is contained in:
parent
3c55662c8a
commit
74244ff7e9
@ -843,6 +843,7 @@ var WifiManager = (function() {
|
||||
if (ok === 0) {
|
||||
// Tell the event worker to start waiting for events.
|
||||
retryTimer = null;
|
||||
connectTries = 0;
|
||||
didConnectSupplicant(function(){});
|
||||
return;
|
||||
}
|
||||
@ -858,6 +859,7 @@ var WifiManager = (function() {
|
||||
}
|
||||
|
||||
retryTimer = null;
|
||||
connectTries = 0;
|
||||
notify("supplicantlost", { success: false });
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user