From 6c40c0076447ae343cc942f9c4e269b8bd694729 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 17 Sep 2007 18:18:07 +0000 Subject: Show wireless nodes regardless if we can deterimine BSS value. Now the AP my test unit is associated with shows the signal strength, etc correctly. --- usr/local/www/status_wireless.php | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'usr/local/www') diff --git a/usr/local/www/status_wireless.php b/usr/local/www/status_wireless.php index a1b26a1..aa468be 100755 --- a/usr/local/www/status_wireless.php +++ b/usr/local/www/status_wireless.php @@ -106,18 +106,16 @@ if ($mode == 'bss') { $state_fixed = str_replace(" ", " ", $state_fixed); $state_fixed = str_replace(" ", " ", $state_fixed); $state_split = split(" ", $state_fixed); - if($state_split[1] <> ""){ - print ""; - print "{$state_split[0]}"; - print "{$state_split[1]}"; - print "{$state_split[2]}"; - print "{$state_split[3]}"; - print "{$state_split[4]}"; - print "{$state_split[5]}"; - print "{$state_split[6]}"; - print "\n"; - print "\n"; - } + print ""; + print "{$state_split[0]}"; + print "{$state_split[1]}"; + print "{$state_split[2]}"; + print "{$state_split[3]}"; + print "{$state_split[4]}"; + print "{$state_split[5]}"; + print "{$state_split[6]}"; + print "\n"; + print "\n"; } } elseif ($mode == 'hostap') { /* table header */ -- cgit v1.1