[PATCH] supplicant: Add timers for SME associate & authenticate.

Ben Greear greearb
Thu Feb 24 09:30:07 PST 2011

On 02/24/2011 07:12 AM, Jouni Malinen wrote:
> And by the way, I did not apply this patch:
> http://www.candelatech.com/~greearb/patches/hostap-e/0011-sme-Start-auth-timer-sooner.patch
> I don't think it has been sent to the mailing list, but anyway, it does
> not look correct. There should be no need to use the authentication
> timeout here since we already know that the driver refused to
> authentication command. The scheduled scan request after one second
> should clear the state even sooner than the new authentication timeout.

I think I was worried that the authenticate logic would fail to
complete and get stuck in some half-auth state.  Starting the timer
earlier ensured that something would kick it.  I'm not sure the
scan itself would fix up a bad state transition...

But, I could have been wrong about that...


Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

More information about the Hostap mailing list