mac80211: broadcast the country IE by default if the country code is configured (#9308)
SVN-Revision: 26765
This commit is contained in:
parent
2b5517934d
commit
be3deb5b14
|
@ -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
|
config_get macfilter "$vif" macfilter
|
||||||
case "$macfilter" in
|
case "$macfilter" in
|
||||||
allow)
|
allow)
|
||||||
|
|
Loading…
Reference in New Issue