mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 10:02:53 +00:00
netifd-morse: fix HaLow client cannot access network
add wds_bridge in hostapd for HaLow radio Fixes: WIFI-14615 Signed-off-by: Ian Chen <ian77_chen@accton.com>
This commit is contained in:
@@ -832,6 +832,13 @@ morse_hostapd_add_bss(){
|
|||||||
morse_override_hostapd_set_bss_options hostapd_cfg "$_phy" "$vif" || return 1
|
morse_override_hostapd_set_bss_options hostapd_cfg "$_phy" "$vif" || return 1
|
||||||
json_get_vars wds wds_bridge sae_pwe dtim_period max_listen_int start_disabled
|
json_get_vars wds wds_bridge sae_pwe dtim_period max_listen_int start_disabled
|
||||||
|
|
||||||
|
local network_config network_values
|
||||||
|
json_get_values network_values network
|
||||||
|
network_config=$(echo "$network_values" | cut -d' ' -f1)
|
||||||
|
|
||||||
|
if [ "$wds" -gt 0 ] && [ -z "$wds_bridge" ]; then
|
||||||
|
wds_bridge="${network_config%%[0-9]*}"
|
||||||
|
fi
|
||||||
|
|
||||||
raw_block=
|
raw_block=
|
||||||
json_for_each_item morse_hostapd_add_raw raws
|
json_for_each_item morse_hostapd_add_raw raws
|
||||||
|
|||||||
Reference in New Issue
Block a user