Michael Braun a5e81ba9eb Fix STA VLAN bind for RSN pre-authentication case
Previously, during RSN preauthentication, ap_sta_bind_vlan() was called,
which fails for non-zero sta->vlan_id as the station is not known to the
kernel driver.

Fix this by binding the station only if it is associated. If it is not
associated, ap_sta_bind_vlan() will be done later during association.

In addition, reject Access-Accept if the returned VLAN ID is not valid
in the current hostapd configuration.

Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
2015-04-13 15:26:40 +03:00
..
2013-12-07 20:50:15 -08:00
2014-03-15 09:57:10 +02:00
2013-12-24 22:59:52 +02:00
2014-10-11 18:03:38 +03:00
2014-12-14 15:47:04 +02:00
2015-01-27 01:43:52 +02:00
2013-12-24 22:59:52 +02:00
2013-12-24 22:59:52 +02:00
2015-01-27 01:43:52 +02:00