mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 18:07:52 +00:00
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:
@@ -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)
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user