1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Prevent disabled state when AP mode is inactive

This commit is contained in:
billz 2019-12-29 23:34:31 +00:00
parent 3dfb5995b6
commit 882621a6af

View File

@ -131,7 +131,7 @@
if ($arrHostapdConf['WifiAPEnable'] == 1) {
$checkedWifiAPEnabled = ' checked="checked"';
}
if ($managedModeEnabled == false) {
if ($managedModeEnabled == false && $arrHostapdConf['WifiAPEnable'] != 1) {
$wifiAPToggle = "disabled";
$wifiAPHelp = "Managed mode not enabled";
}