[PATCH] Fix nl80211 driver to recieve EAPOL response

Jouni Malinen j
Mon Apr 7 09:44:03 PDT 2008


On Mon, Apr 07, 2008 at 08:14:25PM +0400, Artem Antonov wrote:
> This patch fixes nl80211 driver to recieve EAPOL response if wlan0 was
> added to bridge.

Thanks! However, I would prefer to move this extra test for bridge
ifindex into have_ifidx() (i.e., no change at the caller) and it would
probably be better to do if_nametoindex() only once during
initialization and store the ifindex in struct i802_driver_data.
hapd->conf->bridge can be empty, but I would assume if_nametoindex()
handles that fine for this type of use (returned 0 should not match
sll_ifindex).

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list