X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/32dcd7a566b2845c0e61086821ccf4d5c1d46016..f6ceb966a6d45934fb5ebf157f4e4f30652ea8ca:/package/mac80211/files/lib/wifi/mac80211.sh?ds=inline diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 2bd370b87..b20785cf6 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -103,15 +103,17 @@ mac80211_hostapd_setup_bss() { config_get_bool wds "$vif" wds 0 [ "$wds" -gt 0 ] && append hostapd_cfg "wds_sta=1" "$N" + local macaddr hidden maxassoc wmm config_get macaddr "$vif" macaddr + config_get maxassoc "$vif" maxassoc config_get_bool hidden "$vif" hidden 0 - config_get max_clients "$vif" max_clients + config_get_bool wmm "$vif" wmm 1 cat >> /var/run/hostapd-$phy.conf <