aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-02-18 13:34:08 +0000
committerJohn Crispin <blogic@openwrt.org>2014-02-18 13:34:08 +0000
commitceda071dfb6e560825aa917e73cbe4ddc50612c2 (patch)
tree7ef9a14682b491e1383b99e2c9b967b3851526a8 /package/kernel
parent49f77e80164c066899f76407e780a149f72bd7e0 (diff)
downloadmaster-187ad058-ceda071dfb6e560825aa917e73cbe4ddc50612c2.tar.gz
master-187ad058-ceda071dfb6e560825aa917e73cbe4ddc50612c2.tar.bz2
master-187ad058-ceda071dfb6e560825aa917e73cbe4ddc50612c2.zip
mac80211: add validation rules
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39622 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-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 52e58beb51..8b85d2de9f 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