(re)fix of #188. Resolves #290

This commit is contained in:
billz 2019-03-01 09:49:15 +00:00
parent fb003a9e29
commit 6a01eed166
1 changed files with 1 additions and 3 deletions

View File

@ -131,9 +131,7 @@ function DisplayWPAConfig(){
sleep(3);
exec( 'sudo wpa_cli -i ' . RASPI_WIFI_CLIENT_INTERFACE . ' scan_results',$scan_return );
for( $shift = 0; $shift < 2; $shift++ ) {
array_shift($scan_return);
}
array_shift($scan_return);
// display output
foreach( $scan_return as $network ) {