Signed-off-by: Roman Yeryomin <ro...@advem.lv> --- package/network/services/hostapd/files/netifd.sh | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh index 23d2e7e..1d1b098 100644 --- a/package/network/services/hostapd/files/netifd.sh +++ b/package/network/services/hostapd/files/netifd.sh @@ -164,6 +164,8 @@ hostapd_common_add_bss_config() { config_add_int mcast_rate config_add_array basic_rate config_add_array supported_rates + + config_add_string 'vendor_elements:string' } hostapd_set_bss_options() { @@ -437,6 +439,9 @@ hostapd_set_bss_options() { ) > "$_macfile" } + json_get_vars vendor_elements + [ -n "$vendor_elements" ] && append bss_conf "vendor_elements=$vendor_elements" "$N" + append "$var" "$bss_conf" "$N" return 0 } -- 2.1.4 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel