Commit b74aaabe authored by Franco Fichtner's avatar Franco Fichtner

dashboard: respect hostap wifi, which has 'up' as status

parent bb0d8caf
...@@ -52,7 +52,7 @@ require_once("widgets/include/interfaces.inc"); ...@@ -52,7 +52,7 @@ require_once("widgets/include/interfaces.inc");
if ($ifinfo['ppplink']) { if ($ifinfo['ppplink']) {
?> <span alt="3g" class="glyphicon glyphicon-phone text-success"></span> <?php ?> <span alt="3g" class="glyphicon glyphicon-phone text-success"></span> <?php
} elseif ($iswireless) { } elseif ($iswireless) {
if ($ifinfo['status'] == "associated") { if ($ifinfo['status'] == 'associated' || $ifinfo['status'] == 'up') {
?> ?>
<span alt="wlan" class="glyphicon glyphicon-signal text-success"></span> <span alt="wlan" class="glyphicon glyphicon-signal text-success"></span>
<?php <?php
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment