From: John Crispin Date: Tue, 18 Feb 2014 13:34:08 +0000 (+0000) Subject: mac80211: add validation rules X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=79ffacb905b13f5ca1c100975ab7820330cbe1b9;p=openwrt%2Fsvn-archive%2Farchive.git mac80211: add validation rules Signed-off-by: John Crispin SVN-Revision: 39622 --- 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