gluon-status-page: use mac80211 identifier (phy)

This commit is contained in:
aiyion.prime 2021-04-22 22:18:23 +02:00
parent dc400c9220
commit f14707cfa2
2 changed files with 6 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -233,13 +233,15 @@
while (table.lastChild)
table.removeChild(table.lastChild);
wireless.sort(function (a, b) {
return a.phy - b.phy;
});
wireless.forEach(function (radio) {
var tr = document.createElement('tr');
var th = document.createElement('th');
// TODO enhancement possible, as soon as #2204 is resolved
// (use actual radio names)
th.textContent = "radio";
th.textContent = "phy" + radio.phy;
tr.appendChild(th);
var td = document.createElement('td');