hostapd: fix association of clients on Open/VLAN SSIDs

Fixes: WIFI-12929
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2023-09-06 16:06:50 +02:00
parent be1cb862f1
commit b6b298ad68
4 changed files with 4 additions and 3 deletions

View File

@@ -772,9 +772,9 @@ hostapd_set_bss_options() {
# Here we make the assumption that if we're in open mode # Here we make the assumption that if we're in open mode
# with WPS enabled, we got to be in unconfigured state. # with WPS enabled, we got to be in unconfigured state.
wps_not_configured=1 wps_not_configured=1
vlan_possible=1
[ "$macfilter" = radius ] && { [ "$macfilter" = radius ] && {
append_radius_server append_radius_server
vlan_possible=1
} }
;; ;;
psk|sae|psk-sae) psk|sae|psk-sae)

View File

@@ -771,10 +771,10 @@ hostapd_set_bss_options() {
wps_possible=1 wps_possible=1
# Here we make the assumption that if we're in open mode # Here we make the assumption that if we're in open mode
# with WPS enabled, we got to be in unconfigured state. # with WPS enabled, we got to be in unconfigured state.
vlan_possible=1
wps_not_configured=1 wps_not_configured=1
[ "$macfilter" = radius ] && { [ "$macfilter" = radius ] && {
append_radius_server append_radius_server
vlan_possible=1
} }
;; ;;
psk|sae|psk-sae) psk|sae|psk-sae)

View File

@@ -772,6 +772,7 @@ hostapd_set_bss_options() {
# Here we make the assumption that if we're in open mode # Here we make the assumption that if we're in open mode
# with WPS enabled, we got to be in unconfigured state. # with WPS enabled, we got to be in unconfigured state.
wps_not_configured=1 wps_not_configured=1
vlan_possible=1
[ "$macfilter" = radius ] && { [ "$macfilter" = radius ] && {
append_radius_server append_radius_server
vlan_possible=1 vlan_possible=1

View File

@@ -381,9 +381,9 @@ index 65ae662c4d..90d9210410 100644
# Here we make the assumption that if we're in open mode # Here we make the assumption that if we're in open mode
# with WPS enabled, we got to be in unconfigured state. # with WPS enabled, we got to be in unconfigured state.
wps_not_configured=1 wps_not_configured=1
+ vlan_possible=1
+ [ "$macfilter" = radius ] && { + [ "$macfilter" = radius ] && {
+ append_radius_server + append_radius_server
+ vlan_possible=1
+ } + }
;; ;;
psk|sae|psk-sae) psk|sae|psk-sae)