diff --git a/includes/hostapd.php b/includes/hostapd.php index 52b2a66b..0c335b94 100755 --- a/includes/hostapd.php +++ b/includes/hostapd.php @@ -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'];