1
0
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:
billz 2020-06-09 15:44:21 +01:00
parent 8ae1e5a8f2
commit 9d1659b97b

View File

@ -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()
{
if (empty($_SESSION['ap_interface'])) {