diff --git a/usr/local/www/status_wireless.php b/usr/local/www/status_wireless.php index 3d708f5f52..251ef646b4 100755 --- a/usr/local/www/status_wireless.php +++ b/usr/local/www/status_wireless.php @@ -107,18 +107,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 */