mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Fix: pass required param
This commit is contained in:
parent
3c4cdefc56
commit
4bb2597bff
@ -246,7 +246,7 @@ function SaveHostAPDConfig($wpa_array, $enc_types, $modes, $interfaces, $status)
|
||||
$_POST['max_num_sta'] = $_POST['max_num_sta'] < 1 ? null : $_POST['max_num_sta'];
|
||||
|
||||
if ($good_input) {
|
||||
$return = updateHostapdConfig();
|
||||
$return = updateHostapdConfig($ignore_broadcast_ssid);
|
||||
|
||||
// Fetch dhcp-range, lease time from system config
|
||||
$syscfg = parse_ini_file(RASPI_DNSMASQ_PREFIX.$ap_iface.'.conf', false, INI_SCANNER_RAW);
|
||||
@ -357,7 +357,7 @@ function SaveHostAPDConfig($wpa_array, $enc_types, $modes, $interfaces, $status)
|
||||
*
|
||||
* @return boolean $result
|
||||
*/
|
||||
function updateHostapdConfig()
|
||||
function updateHostapdConfig($ignore_broadcast_ssid)
|
||||
{
|
||||
// Fixed values
|
||||
$country_code = $_POST['country_code'];
|
||||
|
Loading…
Reference in New Issue
Block a user