diff --git a/usr/local/www/status_wireless.php b/usr/local/www/status_wireless.php index 1cf6eec7d7..1813a011e8 100755 --- a/usr/local/www/status_wireless.php +++ b/usr/local/www/status_wireless.php @@ -85,7 +85,7 @@ display_top_tabs($tab_array); "; print ""; @@ -98,7 +98,7 @@ if ($mode == 'bss') { print ""; print "\n\n"; - $states=split("\n",`/sbin/ifconfig {$if} list scan | grep -v "CHAN RATE"`); + $states=split("\n",`/sbin/ifconfig {$if} list scan | grep -v "CHAN RATE"; /sbin/ifconfig {$if} list sta | grep -v "CHAN RATE"`); $counter=0; foreach($states as $state) { @@ -121,7 +121,9 @@ if ($mode == 'bss') { print "\n"; print "\n"; } -} elseif ($mode == 'hostap') { + + print "
CAPS
"; + /* table header */ print "\n"; print ""; @@ -159,7 +161,6 @@ if ($mode == 'bss') { print "\n"; print "\n"; } -} /* XXX: what stats to we get for adhoc mode? */