Bug 766497 - Fix typo. r=gal DONTBUILD
authorBlake Kaplan <mrbkap@gmail.com>
Mon, 02 Jul 2012 14:05:17 +0200
changeset 98110 155f67c2c5789ca51d4edc49403199e9e8434e48
parent 98109 8f967762ac65e9362b40804fe909f1445282db9f
child 98124 26aa29fdd8884160716b73638355b0bfdaf58452
child 98133 d3a3e58db83ddc077a9d2568617369985be05aca
child 98256 3a1f8992606cfa95029710007307b41db0eb3bd1
push id23023
push usermrbkap@mozilla.com
push dateMon, 02 Jul 2012 12:06:18 +0000
treeherdermozilla-central@155f67c2c578 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgal
bugs766497
milestone16.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 766497 - Fix typo. r=gal DONTBUILD
dom/wifi/WifiWorker.js
--- a/dom/wifi/WifiWorker.js
+++ b/dom/wifi/WifiWorker.js
@@ -859,17 +859,17 @@ var WifiManager = (function() {
   // Initial state
   manager.state = "UNINITIALIZED";
   manager.enabled = false;
   manager.supplicantStarted = false;
   manager.connectionInfo = { ssid: null, bssid: null, id: -1 };
 
   // Public interface of the wifi service
   manager.setWifiEnabled = function(enable, callback) {
-    if (enabled === manager.enabled) {
+    if (enable === manager.enabled) {
       callback("no change");
       return;
     }
 
     if (enable) {
       // Kill any existing connections if necessary.
       getProperty("wifi.interface", "tiwlan0", function (ifname) {
         if (!ifname) {