mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 799825 - [wifi] Unable to connect to WPA Network. r=mrbkap
This commit is contained in:
parent
5572f5a7cc
commit
55c513ee61
@ -1008,15 +1008,11 @@ var WifiManager = (function() {
|
||||
});
|
||||
}
|
||||
|
||||
// Driver startup on the otoro takes longer than it takes for us
|
||||
// Driver startup on certain platforms takes longer than it takes for us
|
||||
// to return from loadDriver, so wait 2 seconds before starting
|
||||
// the supplicant to give it a chance to start.
|
||||
if (device === "otoro") {
|
||||
timer = Cc["@mozilla.org/timer;1"].createInstance(Ci.nsITimer);
|
||||
timer.init(doStartSupplicant, 2000, Ci.nsITimer.TYPE_ONE_SHOT);
|
||||
} else {
|
||||
doStartSupplicant();
|
||||
}
|
||||
timer = Cc["@mozilla.org/timer;1"].createInstance(Ci.nsITimer);
|
||||
timer.init(doStartSupplicant, 2000, Ci.nsITimer.TYPE_ONE_SHOT);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user