From ed09f9b9da9f427ca20005bcdcf4dfd2b433b70f Mon Sep 17 00:00:00 2001 From: Mark Pointing Date: Tue, 15 Dec 2020 19:02:33 +1000 Subject: [PATCH] Cleaned up some debugging code identified when comparing PR. --- includes/wifi_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/wifi_functions.php b/includes/wifi_functions.php index c2c432d2..040de215 100755 --- a/includes/wifi_functions.php +++ b/includes/wifi_functions.php @@ -53,7 +53,7 @@ function nearbyWifiStations(&$networks, $cached = true) $scan_results = cache( $cacheKey, function () { - exec('sudo wpa_cli -i ' .$_SESSION['wifi_client_interface']. ' scan', $output, $returnval); + exec('sudo wpa_cli -i ' .$_SESSION['wifi_client_interface']. ' scan'); sleep(3); exec('sudo wpa_cli -i ' .$_SESSION['wifi_client_interface']. ' scan_results', $stdout);