aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_i.h
diff options
context:
space:
mode:
authorMichael Braun <michael-dev@fami-braun.de>2015-10-05 14:14:26 (GMT)
committerJouni Malinen <j@w1.fi>2015-10-05 22:25:36 (GMT)
commit7cebc8e2100626dc6981a3f53301058452953b9b (patch)
tree92951453500cf43e28e5e8a826a1b5c5f8c1611d /src/ap/wpa_auth_i.h
parenta359c7bb23a13a608140d1b7274068e7e537f513 (diff)
downloadhostap-7cebc8e2100626dc6981a3f53301058452953b9b.zip
hostap-7cebc8e2100626dc6981a3f53301058452953b9b.tar.gz
hostap-7cebc8e2100626dc6981a3f53301058452953b9b.tar.bz2
Fix init of group state machine for static VLANs
This ensures that group key is set as long as the interface exists. Additionally, ifconfig_up is needed as wpa_group will enter FATAL_FAILURE if the interface is still down. Also vlan_remove_dynamic() is moved after wpa_auth_sta_deinit() so vlan_remove_dynamic() can check it was the last user of the wpa_group. Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
Diffstat (limited to 'src/ap/wpa_auth_i.h')
-rw-r--r--src/ap/wpa_auth_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ap/wpa_auth_i.h b/src/ap/wpa_auth_i.h
index 57b098f..409efb9 100644
--- a/src/ap/wpa_auth_i.h
+++ b/src/ap/wpa_auth_i.h
@@ -171,6 +171,7 @@ struct wpa_group {
#endif /* CONFIG_IEEE80211W */
/* Number of references except those in struct wpa_group->next */
unsigned int references;
+ unsigned int num_setup_iface;
};