summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/status_wireless.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_wireless.php b/usr/local/www/status_wireless.php
index 134fc52..52c507c 100755
--- a/usr/local/www/status_wireless.php
+++ b/usr/local/www/status_wireless.php
@@ -70,7 +70,7 @@ $tab_array = array();
foreach($ciflist as $interface => $ifdescr) {
if (is_interface_wireless($interface)) {
$enabled = false;
- if($if == get_real_interface($interface))
+ if($if == $interface)
$enabled = true;
$tab_array[] = array("Status ($ifdescr)", $enabled, "status_wireless.php?if={$interface}");
}
OpenPOWER on IntegriCloud