WPA && bridge_packets dont work

Wilfried Klaebe wk-hostap at kaos.in-kiel.de
Tue Sep 28 05:59:06 EDT 2004


Am Sun, Sep 26, 2004 at 03:52:54PM +0200 schrieb Wilfried Klaebe:
[...]
> > > > ARP requests incoming on wlan0, but not showing up on br0.
[...]
> I think I found it. The packets are dropped, because wlan0 is in state
> BR_STATE_DISABLED. This is because netif_carrier_ok() returns false for
> wlan0. This is because at HW initialisation netif_carrier_down() is
> called (only occurrence in hostap_hw.c), and nowhere later
> netif_carrier_up() is called. There are two occurrences in
> hostap_info.c, but none of them showed up in my logs when I put some
> printks beside them.
> 
> So far, I have no idea where changes should be made, only that they are
> necessary...

Maybe I should add that the check for netif_carrier_ok() in the linux
bridging code was added in 2.6.8-rc3 and so this problem won't show up
in previous versions. I don't know if it has gone into 2.4.

Regards, Wilfried
-- 
Irgendwas ist ja immer...



More information about the HostAP mailing list