mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Set WifiManaged value from $_POST. Resolves #767
This commit is contained in:
parent
ba4e114c8a
commit
0bbf03cc95
@ -192,7 +192,7 @@ function SaveHostAPDConfig($wpa_array, $enc_types, $modes, $interfaces, $status)
|
|||||||
// Save previous Client mode status when Bridged
|
// Save previous Client mode status when Bridged
|
||||||
$cfg['WifiAPEnable'] = ($bridgedEnable == 1 ? $arrHostapdConf['WifiAPEnable'] : $wifiAPEnable);
|
$cfg['WifiAPEnable'] = ($bridgedEnable == 1 ? $arrHostapdConf['WifiAPEnable'] : $wifiAPEnable);
|
||||||
$cfg['BridgedEnable'] = $bridgedEnable;
|
$cfg['BridgedEnable'] = $bridgedEnable;
|
||||||
$cfg['WifiManaged'] = $ap_iface;
|
$cfg['WifiManaged'] = $_POST['interface'];
|
||||||
write_php_ini($cfg, RASPI_CONFIG.'/hostapd.ini');
|
write_php_ini($cfg, RASPI_CONFIG.'/hostapd.ini');
|
||||||
$_SESSION['ap_interface'] = $ap_iface;
|
$_SESSION['ap_interface'] = $ap_iface;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user