From 342946262780e3515089f47d4c81e69fbe97b57f Mon Sep 17 00:00:00 2001 From: AE6XE Date: Tue, 9 Jun 2015 21:51:52 -0700 Subject: [PATCH] fixes AREDN->ticket:112 wifi scan improperly sorted by signal strength --- files/usr/local/bin/wscan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/usr/local/bin/wscan b/files/usr/local/bin/wscan index d2c3f453..fc158bd2 100755 --- a/files/usr/local/bin/wscan +++ b/files/usr/local/bin/wscan @@ -239,7 +239,7 @@ while(1) } elsif($web) { - foreach $line (sort @list) + foreach $line (sort { $b <=> $a } @list) { if ( $line =~ /AREDN/) { print ""} else { print ""}