gluon-status-page: use mac80211 identifier (phy)
This commit is contained in:
parent
dc400c9220
commit
f14707cfa2
File diff suppressed because one or more lines are too long
@ -233,13 +233,15 @@
|
|||||||
while (table.lastChild)
|
while (table.lastChild)
|
||||||
table.removeChild(table.lastChild);
|
table.removeChild(table.lastChild);
|
||||||
|
|
||||||
|
wireless.sort(function (a, b) {
|
||||||
|
return a.phy - b.phy;
|
||||||
|
});
|
||||||
|
|
||||||
wireless.forEach(function (radio) {
|
wireless.forEach(function (radio) {
|
||||||
var tr = document.createElement('tr');
|
var tr = document.createElement('tr');
|
||||||
|
|
||||||
var th = document.createElement('th');
|
var th = document.createElement('th');
|
||||||
// TODO enhancement possible, as soon as #2204 is resolved
|
th.textContent = "phy" + radio.phy;
|
||||||
// (use actual radio names)
|
|
||||||
th.textContent = "radio";
|
|
||||||
tr.appendChild(th);
|
tr.appendChild(th);
|
||||||
|
|
||||||
var td = document.createElement('td');
|
var td = document.createElement('td');
|
||||||
|
Loading…
Reference in New Issue
Block a user