changed device query to scan only a single interface of each PHY

This commit is contained in:
mark 2022-04-05 23:54:45 +02:00
parent 243330bad2
commit 47e9c390b0
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<tr><td>
<%
htmloutput=0
devs=`iw dev | sed -n -r 's/^\s+Interface\s+(\w+)/\1/p'`
devs=$(iw dev | sed -n '/^phy/,/Interface/{s/^.*Interface //p}')
for dev in $devs
do
scanresult="$(iw dev $dev scan)"