forked from freifunk-franken/firmware
changed device query to scan only a single interface of each PHY
This commit is contained in:
parent
243330bad2
commit
47e9c390b0
|
@ -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)"
|
||||
|
|
Loading…
Reference in New Issue