1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Merge pull request #103 from universalism/master

FIX - wlan0 status doesn't contain RUNNING only UP
This commit is contained in:
Lawrence 2017-10-04 00:08:01 +08:00 committed by GitHub
commit aa675ae12b

View File

@ -44,7 +44,7 @@ function DisplayDashboard(){
preg_match('/Frequency:(\d+.\d+ GHz)/i',$strWlan0,$result) || $result[1] = '';
$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 {