summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-02-18 13:34:08 +0000
committerJohn Crispin <john@openwrt.org>2014-02-18 13:34:08 +0000
commit7d4103ddd4411bdcefa6905c98ab0faab7d5fbd2 (patch)
tree4806eb37eea687295021d6b4a61f36805f36c3f6 /package
parent8fb44e0d1ec60393b76cf31427b0d2db1893e5d8 (diff)
downloadmtk-20170518-7d4103ddd4411bdcefa6905c98ab0faab7d5fbd2.zip
mtk-20170518-7d4103ddd4411bdcefa6905c98ab0faab7d5fbd2.tar.gz
mtk-20170518-7d4103ddd4411bdcefa6905c98ab0faab7d5fbd2.tar.bz2
mac80211: add validation rules
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39622
Diffstat (limited to 'package')
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 52e58be..8b85d2d 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -17,7 +17,7 @@ MP_CONFIG_STRING="mesh_power_mode"
drv_mac80211_init_device_config() {
hostapd_common_add_device_config
- config_add_string path phy macaddr
+ config_add_string path phy 'macaddr:macaddr'
config_add_string hwmode
config_add_int beacon_int chanbw frag rts
config_add_int rxantenna txantenna antenna_gain txpower distance
@@ -42,7 +42,7 @@ drv_mac80211_init_device_config() {
drv_mac80211_init_iface_config() {
hostapd_common_add_bss_config
- config_add_string macaddr ifname
+ config_add_string 'macaddr:macaddr' ifname
config_add_boolean wds powersave
config_add_int maxassoc