[PATCH] Fix nl80211 driver to recieve EAPOL response

Artem Antonov artem.v.antonov
Mon Apr 7 09:14:25 PDT 2008


This patch fixes nl80211 driver to recieve EAPOL response if wlan0 was
added to bridge.

diff -urN hostap/hostapd/driver_nl80211.c hostap/hostapd/driver_nl80211.c
--- hostap/hostapd/driver_nl80211.c	2008-04-05 09:00:34.000000000 +0400
+++ hostap/hostapd/driver_nl80211.c	2008-04-06 17:16:35.000000000 +0400
@@ -1689,7 +1692,8 @@
 		return;
 	}
 -	if (have_ifidx(drv, lladdr.sll_ifindex))
+	if ((have_ifidx(drv, lladdr.sll_ifindex))
+	    || (lladdr.sll_ifindex == if_nametoindex(hapd->conf->bridge)))
 		ieee802_1x_receive(hapd, lladdr.sll_addr, buf, len);
 }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 001-hostapd.patch
Type: application/octet-stream
Size: 474 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20080407/9594304c/attachment.obj 



More information about the Hostap mailing list