Cleaned up some debugging code identified when comparing PR.

This commit is contained in:
Mark Pointing 2020-12-15 19:02:33 +10:00
parent c5f692263d
commit ed09f9b9da

View file

@ -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);