diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 966e8726c..aa9b27759 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1322,7 +1322,7 @@ NMDeviceWireless.prototype = { this._overflowItem = null; } } - this._networks.splice(pos, 1); + this._networks.splice(res.network, 1); } else if (apObj.item) apObj.item.updateAccessPoints(apObj.accessPoints);