mirror of https://github.com/aredn/aredn.git
Merge branch 'WifiScanFix' into release-3.15.1.0 fixes AREDN->ticket:112
Wifi Scan improperly sorts by signal strength
This commit is contained in:
commit
201a4fc285
|
@ -239,7 +239,7 @@ while(1)
|
||||||
}
|
}
|
||||||
elsif($web)
|
elsif($web)
|
||||||
{
|
{
|
||||||
foreach $line (sort @list)
|
foreach $line (sort { $b <=> $a } @list)
|
||||||
{
|
{
|
||||||
if ( $line =~ /AREDN/) { print "<tr class=\"wscan-row-node\">"}
|
if ( $line =~ /AREDN/) { print "<tr class=\"wscan-row-node\">"}
|
||||||
else { print "<tr>"}
|
else { print "<tr>"}
|
||||||
|
|
Loading…
Reference in New Issue