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

Jouni Malinen j at w1.fi
Mon Dec 7 16:59:19 EST 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