From 74194205ecc4176f182db6fdc695dd8122867a48 Mon Sep 17 00:00:00 2001 From: billz Date: Sun, 19 Oct 2025 09:29:56 -0700 Subject: [PATCH] Formatted for clarity --- includes/hostapd.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/includes/hostapd.php b/includes/hostapd.php index 45004498..ccd7bfcd 100755 --- a/includes/hostapd.php +++ b/includes/hostapd.php @@ -61,7 +61,15 @@ function DisplayHostAPDConfig() $status->addMessage($line, 'info'); } } elseif (isset($_POST['SaveHostAPDSettings'])) { - $hotspot->saveSettings($_POST, $arrSecurity, $arrEncType, $arr80211Standard, $interfaces, $reg_domain, $status); + $result = $hotspot->saveSettings( + $_POST, + $arrSecurity, + $arrEncType, + $arr80211Standard, + $interfaces, + $reg_domain, + $status + ); } elseif (isset($_POST['StopHotspot'])) { $status->addMessage('Attempting to stop hotspot', 'info'); exec('sudo /bin/systemctl stop hostapd.service', $return);