diff --git a/src/RaspAP/Networking/Hotspot/Validators/HostapdValidator.php b/src/RaspAP/Networking/Hotspot/Validators/HostapdValidator.php index e391fc49..864ff371 100644 --- a/src/RaspAP/Networking/Hotspot/Validators/HostapdValidator.php +++ b/src/RaspAP/Networking/Hotspot/Validators/HostapdValidator.php @@ -133,7 +133,7 @@ class HostapdValidator 'max_num_sta' => $post['max_num_sta'], 'beacon_interval' => $post['beacon_interval'] ?? null, 'disassoc_low_ack' => $post['disassoc_low_ackEnable'] ?? null, - 'bridge' => $post['bridgedEnable'] ? 'br0' : null, + 'bridge' => ($post['bridgedEnable'] ?? false) ? 'br0' : null ]; } diff --git a/templates/hostapd/security.php b/templates/hostapd/security.php index cc7eb141..a0aa09a1 100644 --- a/templates/hostapd/security.php +++ b/templates/hostapd/security.php @@ -13,7 +13,7 @@