mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-22 04:18:10 +00:00
mac80211: pass phy name to hostapd_set_bss_options
hostapd_set_bss_options expects the PHY as second and the VIF as third argument. However, only the VIF was passed as second argument without a third argument at all. This was never a problem, as both PHY and VIF were never accessed. However, with FTM support the PHY is needed to determine the HW support when configuring the BSS. Signed-off-by: David Bauer <mail@david-bauer.net> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
38cd2c9f6a
commit
171ea09d38
@ -372,7 +372,7 @@ mac80211_hostapd_setup_bss() {
|
|||||||
hostapd_cfg=
|
hostapd_cfg=
|
||||||
append hostapd_cfg "$type=$ifname" "$N"
|
append hostapd_cfg "$type=$ifname" "$N"
|
||||||
|
|
||||||
hostapd_set_bss_options hostapd_cfg "$vif" || return 1
|
hostapd_set_bss_options hostapd_cfg "$phy" "$vif" || return 1
|
||||||
json_get_vars wds wds_bridge dtim_period max_listen_int start_disabled
|
json_get_vars wds wds_bridge dtim_period max_listen_int start_disabled
|
||||||
|
|
||||||
set_default wds 0
|
set_default wds 0
|
||||||
|
Loading…
Reference in New Issue
Block a user