From 4bb2597bff9aa447a005dc8ebf9acf7ea5c25eb5 Mon Sep 17 00:00:00 2001 From: billz Date: Sun, 6 Dec 2020 09:04:40 +0000 Subject: [PATCH] Fix: pass required param --- includes/hostapd.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'];