1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-02 15:53:49 +03:00

mac80211: broadcast the country IE by default if the country code is configured (#9308)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26765 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2011-04-26 19:33:27 +00:00
parent 8d22e2e241
commit ea4e7541cf

View File

@ -36,6 +36,11 @@ mac80211_hostapd_setup_base() {
}
}
local country_ie=0
[ -n "$country" ] && country_ie=1
config_get_bool country_ie "$device" country_ie "$country_ie"
[ "$country_ie" -gt 0 ] && append base_cfg "ieee80211d=1" "$N"
config_get macfilter "$vif" macfilter
case "$macfilter" in
allow)