зеркало из https://github.com/mozilla/gecko-dev.git
Bug 949861 - Wifi does not work on Galaxy S2 device (SGS2) after flashing Gecko. r=chucklee
This commit is contained in:
Родитель
bed3d40d0c
Коммит
78c74f2c3d
|
@ -869,15 +869,12 @@ var WifiManager = (function() {
|
||||||
manager.state = "UNINITIALIZED";
|
manager.state = "UNINITIALIZED";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// This command is mandatory for Nexus 4. But some devices like
|
||||||
|
// Galaxy S2 don't support it. Continue to start wpa_supplicant
|
||||||
|
// even if we fail to set wifi operation mode to station.
|
||||||
gNetworkService.setWifiOperationMode(manager.ifname,
|
gNetworkService.setWifiOperationMode(manager.ifname,
|
||||||
WIFI_FIRMWARE_STATION,
|
WIFI_FIRMWARE_STATION,
|
||||||
function (status) {
|
function (status) {
|
||||||
if (status) {
|
|
||||||
callback(status);
|
|
||||||
manager.state = "UNINITIALIZED";
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
function doStartSupplicant() {
|
function doStartSupplicant() {
|
||||||
cancelWaitForDriverReadyTimer();
|
cancelWaitForDriverReadyTimer();
|
||||||
wifiCommand.startSupplicant(function (status) {
|
wifiCommand.startSupplicant(function (status) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче