hostapd: read missing parameter for dynamic VLANs
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Oct 2014 04:52:21 +0000 (04:52 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Oct 2014 04:52:21 +0000 (04:52 +0000)
In r41872 Dynamic VLAN support was reintroduced, but the vlan_naming
parameter is not read while setting up the config, so it always
defaults to 1.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42787 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/network/services/hostapd/files/netifd.sh

index c508693..5dfb43d 100644 (file)
@@ -220,7 +220,7 @@ hostapd_set_bss_options() {
                                dae_client dae_secret dae_port \
                                nasid ownip \
                                eap_reauth_period dynamic_vlan \
-                               vlan_tagged_interface
+                               vlan_naming vlan_tagged_interface
 
                        # legacy compatibility
                        [ -n "$auth_server" ] || json_get_var auth_server server