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 1d9d68e..5443c73 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;
 }