projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b55179
)
mac80211: broadcast the country IE by default if the country code is configured ...
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 26 Apr 2011 19:33:27 +0000
(19:33 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 26 Apr 2011 19:33:27 +0000
(19:33 +0000)
SVN-Revision: 26765
package/mac80211/files/lib/wifi/mac80211.sh
patch
|
blob
|
history
diff --git
a/package/mac80211/files/lib/wifi/mac80211.sh
b/package/mac80211/files/lib/wifi/mac80211.sh
index d395db11df643adea3edd54f32fa850dc6d59cf3..2ca63bb5cf8917bad5fb7e974b9908a475f84734 100644
(file)
--- a/
package/mac80211/files/lib/wifi/mac80211.sh
+++ b/
package/mac80211/files/lib/wifi/mac80211.sh
@@
-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)