From 6a01eed166ceec0d52e8ca63be57bc9e1ea6ad7b Mon Sep 17 00:00:00 2001 From: billz Date: Fri, 1 Mar 2019 09:49:15 +0000 Subject: [PATCH] (re)fix of #188. Resolves #290 --- includes/configure_client.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/configure_client.php b/includes/configure_client.php index bc69ddf4..af859a6d 100755 --- a/includes/configure_client.php +++ b/includes/configure_client.php @@ -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 ) {