Commit 28bceda5 authored by Franco Fichtner's avatar Franco Fichtner

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

parent e1521f1a
......@@ -53,7 +53,7 @@ require_once("widgets/include/interfaces.inc");
if (isset($ifinfo['ppplink'])) {
?> <span alt="3g" class="glyphicon glyphicon-phone text-success"></span> <?php
} elseif ($iswireless) {
if ($ifinfo['status'] == "associated") {
if ($ifinfo['status'] == 'associated' || $ifinfo['status'] == 'up') {
?>
<span alt="wlan" class="glyphicon glyphicon-signal text-success"></span>
<?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