mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Document getWifiInterface
This commit is contained in:
parent
8ae1e5a8f2
commit
9d1659b97b
@ -133,6 +133,13 @@ function sortNetworksByRSSI(&$networks)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Determines the configured wireless AP interface
|
||||||
|
*
|
||||||
|
* If not saved in /etc/raspap/hostapd.ini, check for a second
|
||||||
|
* wireless interface with iw dev. Fallback to the constant
|
||||||
|
* value defined in config.php
|
||||||
|
*/
|
||||||
function getWifiInterface()
|
function getWifiInterface()
|
||||||
{
|
{
|
||||||
if (empty($_SESSION['ap_interface'])) {
|
if (empty($_SESSION['ap_interface'])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user