[PATCH v4 03/25] VLAN: remove vlan_tail
Jouni Malinen
j
Sun Aug 4 11:48:30 PDT 2013
On Sat, Jul 27, 2013 at 09:54:41PM +0200, Michael Braun wrote:
> Everything in hostapd can be implemented efficiently without vlan_tail.
> V3: Fix sta_info.c depending on the order of VLAN ID / WILDCARD.
> This originally was in VLAN: use untagged/tagged for interface
> configuration by mistake.
Thanks, applied.
> diff --git a/src/ap/sta_info.c b/src/ap/sta_info.c
> @@ -690,14 +690,18 @@ int ap_sta_bind_vlan(struct hostapd_data *hapd, struct sta_info *sta,
> sta->vlan_id = 0;
> else if (sta->vlan_id > 0) {
> vlan = hapd->conf->vlan;
> + struct hostapd_vlan *wildcard_vlan = NULL;
With that variable declaration moved to the beginning of the block to
comply with C89.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list