mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 917070 - Fix misplaced condition flag. r=vchang
This commit is contained in:
parent
c644cbc5aa
commit
5cc15962ff
@ -3337,11 +3337,11 @@ WifiWorker.prototype = {
|
||||
this.queueRequest(false, function(data) {
|
||||
if (this.tetheringSettings[SETTINGS_WIFI_TETHERING_ENABLED] ||
|
||||
WifiManager.tetheringState != "UNINITIALIZED") {
|
||||
this.disconnectedByWifi = true;
|
||||
this.setWifiApEnabled(false, this.notifyTetheringOff.bind(this));
|
||||
} else {
|
||||
this.requestDone();
|
||||
}
|
||||
this.disconnectedByWifi = true;
|
||||
}.bind(this));
|
||||
}
|
||||
|
||||
@ -3366,11 +3366,11 @@ WifiWorker.prototype = {
|
||||
if (enabled) {
|
||||
this.queueRequest(false, function(data) {
|
||||
if (WifiManager.enabled || WifiManager.state != "UNINITIALIZED") {
|
||||
this.disconnectedByWifiTethering = true;
|
||||
this.setWifiEnabled(false, this._setWifiEnabledCallback.bind(this));
|
||||
} else {
|
||||
this.requestDone();
|
||||
}
|
||||
this.disconnectedByWifiTethering = true;
|
||||
}.bind(this));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user