network: fix a variable name

This commit is contained in:
Dan Winship 2011-04-27 09:05:39 -04:00
parent 227da25776
commit 42a5531f15

View File

@ -1285,7 +1285,7 @@ NMDeviceWireless.prototype = {
let menuPos = 0;
for (pos = 0;
pos < this._networks.length &&
this._networkSortFunction(this._networks[i], apObj) < 0; ++pos) {
this._networkSortFunction(this._networks[pos], apObj) < 0; ++pos) {
if (this._networks[pos] != this._activeNetwork)
menuPos++;
}