Bug 888828 - Default route of 3G data call disappeared (after receiving disconnected event from wlan0). r=vchang

This commit is contained in:
Dimi Lee 2013-07-02 11:50:50 +08:00
Родитель 4ef150e60c
Коммит 406653dccd
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -245,7 +245,7 @@ NetworkManager.prototype = {
} }
// Remove routing table in /proc/net/route // Remove routing table in /proc/net/route
if (network.type == Ci.nsINetworkInterface.NETWORK_TYPE_WIFI) { if (network.type == Ci.nsINetworkInterface.NETWORK_TYPE_WIFI) {
this.resetRoutingTable(this._activeInfo); this.resetRoutingTable(network);
} }
// Abort ongoing captive portal detection on the wifi interface // Abort ongoing captive portal detection on the wifi interface
CaptivePortalDetectionHelper.notify(CaptivePortalDetectionHelper.EVENT_DISCONNECT, network); CaptivePortalDetectionHelper.notify(CaptivePortalDetectionHelper.EVENT_DISCONNECT, network);