Fix VLAN ID validation check to use the new VLAN ID
authorBlaž Bačnik <bacnik@gmail.com>
Wed, 30 Sep 2009 17:44:04 +0000 (20:44 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 30 Sep 2009 17:44:04 +0000 (20:44 +0300)
commit1066c1ee3c8a786f688a46f9d3be8ebfd27580de
tree851ac987849117bd28b3bf00444935b770699cf9
parentebf214e6700bfbc034b529a38349f1a793173171
Fix VLAN ID validation check to use the new VLAN ID

When checking the validity of VLAN ID based on RADIUS-based ACL or
accept_mac_file, the assigned vlan_id, not the old sta->vlan_id
(likely zero) needs to be used.
hostapd/ieee802_11.c