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:
AE6XE 2015-06-09 21:54:39 -07:00
commit 201a4fc285
1 changed files with 1 additions and 1 deletions

View File

@ -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>"}