[PATCH] driver_wext.c: Make sure that interface is UP

Jouni Malinen j
Mon Dec 7 13:59:19 PST 2009


On Mon, Dec 07, 2009 at 01:04:44PM -0800, Dmitry Shmidt wrote:

> After association in case of key handshake we need to send packets and
> we want xmit queue to be ON.
> And sometimes it is possible that interface was turned OFF.

What would set the interface down? And if it is down and the driver has
disabled the radio, how would we even get here (e.g., scan results may
not be available)? Since wpa_supplicant sets the interface UP in the
start, this patch looks like a workaround for something that should
probably be fixed at the location of the real problems (i.e., make it
not set the interface down).

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list