mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Cleaned up some debugging code identified when comparing PR.
This commit is contained in:
parent
c5f692263d
commit
ed09f9b9da
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue