wpasupplicant : race in scan timeout

matthieu castet castet.matthieu
Sun Oct 22 02:00:27 PDT 2006


Hi,

With wpasupplicant 0.5.5-2 from debian and airo driver (wireless 
extension) there is a race in the scan :
- the airo driver provides scan result only after 3 seconds
- the wpasupplicant expects scan result after 3 seconds and don't retry 
in case of -EAGAIN.

In some condition wpasupplicant fails to scan.

The solution to resolve this is :
- increase wpasupplicant scan timeout to 4 (or more) seconds
- if the result is -EAGAIN after the timeout retry one (or more) times.


Matthieu




More information about the Hostap mailing list