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

Fixes #188. Thanks @bluthen

This commit is contained in:
billz 2018-06-12 17:08:27 +00:00
parent ae171cfe46
commit ff4385753c

View File

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