]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/ap/wpa_auth.c
Fix init of group state machine for static VLANs
authorMichael Braun <michael-dev@fami-braun.de>
Mon, 5 Oct 2015 14:14:26 +0000 (16:14 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 5 Oct 2015 22:25:36 +0000 (01:25 +0300)
commit7cebc8e2100626dc6981a3f53301058452953b9b
tree92951453500cf43e28e5e8a826a1b5c5f8c1611d
parenta359c7bb23a13a608140d1b7274068e7e537f513
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>
src/ap/sta_info.c
src/ap/vlan_init.c
src/ap/wpa_auth.c
src/ap/wpa_auth.h
src/ap/wpa_auth_i.h