[PATCHv2 04/21] Avoid access to non-existing interfaces

Jouni Malinen j at w1.fi
Tue Jun 25 05:04:34 EDT 2013


On Fri, May 17, 2013 at 06:27:30PM +0200, Michael Braun wrote:
> Currently, hostapd_get_vlan_id_ifname is used to determine if a
> given vlan is valid *and* to actually determine the interface.
> This leads to wpa_set_keys sometimes setting the key on the
> wildcard interface name, which does not make sense.
> 
> This patch therefore adds hostapd_vlan_id_valid and makes
> hostapd_get_vlan_id_ifname not return a wildcard interface.

Thanks, applied.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list