B2G/gecko/dom/wifi/WifiWorker.js
// saveConfig now before we disable most of the other networks.
saveConfig now before we disable most of the other networks.
saveConfig now before we disable most of the other networks .
function selectAndConnect() {
        WifiManager.enableNetwork(privnet.netId, true, function (ok) {
          if (ok)
            self._needToEnableNetworks = true;
          if (WifiManager.state === "DISCONNECTED" ||
              WifiManager.state === "SCANNING") {
            WifiManager.reconnect(function (ok) {
              self._sendMessage(message, ok, ok, msg);
            });
          } else {
            self._sendMessage(message, ok, ok, msg);
          }
        });
      }
function selectAndConnect ( ) { WifiManager . enableNetwork ( privnet . netId , true , function ( ok ) { if ( ok ) self . _needToEnableNetworks = true ; if ( WifiManager . state === "DISCONNECTED" || WifiManager . state === "SCANNING" ) { WifiManager . reconnect ( function ( ok ) { self . _sendMessage ( message , ok , ok , msg ) ; } ) ; } else { self . _sendMessage ( message , ok , ok , msg ) ; } } ) ; }
saveConfig now before we disable most of the other networks.
saveConfig now before we disable most of the other networks .