]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix STA re-bind to another VLAN on reauthentication
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 29 Jan 2015 23:09:51 +0000 (01:09 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 29 Jan 2015 23:09:51 +0000 (01:09 +0200)
commit2dd4f3aede94dde797047e7f52b29417bfebfdf6
tree6914a2ce81e37a9bd6bd48ed8d2b9d5004afcc51
parent4437f8fc778e6272b16ad5f120ecf3ac1ac7700c
Fix STA re-bind to another VLAN on reauthentication

Previously, the old VLAN ID could have been deleted before the STA was
bound to the new VLAN in case the RADIUS server changed the VLAN ID
during an association. This did not exactly work well with mac80211, so
reorder the operations in a way that first binds the STA to the new VLAN
ID and only after that, removes the old VLAN interface if no STAs remain
in it.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/sta_info.c