mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Cleaned up some debugging code identified when comparing PR.
This commit is contained in:
parent
c5f692263d
commit
ed09f9b9da
@ -53,7 +53,7 @@ function nearbyWifiStations(&$networks, $cached = true)
|
|||||||
|
|
||||||
$scan_results = cache(
|
$scan_results = cache(
|
||||||
$cacheKey, function () {
|
$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);
|
sleep(3);
|
||||||
|
|
||||||
exec('sudo wpa_cli -i ' .$_SESSION['wifi_client_interface']. ' scan_results', $stdout);
|
exec('sudo wpa_cli -i ' .$_SESSION['wifi_client_interface']. ' scan_results', $stdout);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user