]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
VLAN: Set dynamic VLAN up to fix STA bind and key setup
authorM. Braun <michael-dev@fami-braun.de>
Thu, 15 Apr 2010 20:54:41 +0000 (23:54 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 15 Apr 2010 20:54:41 +0000 (23:54 +0300)
src/ap/vlan_init.c

index 1d9d68e3af5cb4f077930498ce0bdeb35d64427a..5443c735a978cdef1e0f6d4f499d00a62329d9b5 100644 (file)
@@ -842,6 +842,8 @@ struct hostapd_vlan * vlan_add_dynamic(struct hostapd_data *hapd,
        n->next = hapd->conf->vlan;
        hapd->conf->vlan = n;
 
+       ifconfig_up(n->ifname);
+
        return n;
 }