mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	FIX - wlan0 status doesn't contain RUNNING only UP
Tested on RPi3 Raspbian Jessie
This commit is contained in:
		| @@ -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 { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user