Bug 814581 - Part 6/8: fix NetworkManager. r=yoshi

This commit is contained in:
Vicamo Yang 2013-07-02 17:36:51 +08:00
Родитель 3e43e554bf
Коммит 735be04011
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -228,7 +228,7 @@ NetworkManager.prototype = {
this.setAndConfigureActive();
// Update data connection when Wifi connected/disconnected
if (network.type == Ci.nsINetworkInterface.NETWORK_TYPE_WIFI) {
this.mRIL.updateRILNetworkInterface();
this.mRIL.getRadioInterface(0).updateRILNetworkInterface();
}
this.onConnectionChanged(network);
@ -252,7 +252,7 @@ NetworkManager.prototype = {
this.setAndConfigureActive();
// Update data connection when Wifi connected/disconnected
if (network.type == Ci.nsINetworkInterface.NETWORK_TYPE_WIFI) {
this.mRIL.updateRILNetworkInterface();
this.mRIL.getRadioInterface(0).updateRILNetworkInterface();
}
break;
}