possible bug in driver_madwifi.c/wpa_driver_madwifi_scan()

Jouni Malinen j
Sat May 12 11:48:41 PDT 2007


On Sat, May 12, 2007 at 06:42:20PM +0000, Amin Abdul wrote:

> It seems that there is a bug in how 
> driver_madwifi.c/wpa_driver_madwifi_scan() manage return logic.

I don't think so.

> For example, even if  wpa_driver_wext_set_ssid() failed we end up in calling 
> ioctl(drv->sock, SIOCSIWSCAN, &iwr) is it intentional ?

Yes, it is.

> The same is true for ioctl(drv->sock, SIOCSIWSCAN, 
> &iwr)/eloop_register_timeout()

And the part that you stripped out from here is the comment that
describes why this is needed.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list