From 9fb59918cfd6ae4ef0253a4259319441755e3e7c Mon Sep 17 00:00:00 2001 From: billz Date: Sun, 7 Jun 2020 18:46:14 +0100 Subject: [PATCH] Fix: Update session var when saving cfg --- includes/hostapd.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/hostapd.php b/includes/hostapd.php index 2f662e32..9702c33c 100755 --- a/includes/hostapd.php +++ b/includes/hostapd.php @@ -171,6 +171,7 @@ function SaveHostAPDConfig($wpa_array, $enc_types, $modes, $interfaces, $status) $cfg['BridgedEnable'] = $bridgedEnable; $cfg['WifiManaged'] = $_POST['interface']; write_php_ini($cfg, RASPI_CONFIG.'/hostapd.ini'); + $_SESSION['client_iface'] = $_POST['interface']; // Verify input if (empty($_POST['ssid']) || strlen($_POST['ssid']) > 32) {