From 5447c1a0dc11331a4dd1925525a7fc7f43efdbcd Mon Sep 17 00:00:00 2001 From: universalism Date: Sat, 23 Sep 2017 11:56:08 +0200 Subject: [PATCH] FIX - wlan0 status doesn't contain RUNNING only UP Tested on RPi3 Raspbian Jessie --- includes/dashboard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/dashboard.php b/includes/dashboard.php index 69ed7912..b235aa1a 100755 --- a/includes/dashboard.php +++ b/includes/dashboard.php @@ -44,7 +44,7 @@ function DisplayDashboard(){ preg_match('/Frequency:(\d+.\d+ GHz)/i',$strWlan0,$result); $strFrequency = $result[1]; - if(strpos( $strWlan0, "UP" ) !== false && strpos( $strWlan0, "RUNNING" ) !== false ) { + if(strpos( $strWlan0, "UP" ) !== false) { // && strpos( $strWlan0, "RUNNING" ) !== false ) { $status->addMessage('Interface is up', 'success'); $wlan0up = true; } else {