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:
parent
3dfb5995b6
commit
882621a6af
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user