diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 88521888a..752a9f646 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -132,8 +132,8 @@ NMNetworkMenuItem.prototype = { } }, - _updated: function(ap, strength) { - if (strength > this.bestAP.strength) + _updated: function(ap) { + if (ap.strength > this.bestAP.strength) this.bestAP = ap; this._signalIcon.icon_name = this._getIcon();