Subject: bin/31513: wpa_supplicant does not deal with disconnects
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 10/08/2005 18:37:00
>Number:         31513
>Category:       bin
>Synopsis:       wpa_supplicant does not deal with disconnects
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 08 18:37:00 +0000 2005
>Originator:     Martin Husemann
>Release:        NetBSD 3.99.9
>Organization:
>Environment:
System: NetBSD night-owl.duskware.de 3.99.9 NetBSD 3.99.9 (NIGHT-OWL) #0: Mon Oct 3 01:31:17 CEST 2005 martin@night-owl.duskware.de:/usr/src/sys/arch/i386/compile/NIGHT-OWL i386
Architecture: i386
Machine: i386
>Description:

For some reason (which I don't know) my ath0 gets disconnected from the tha
AP from time to time (maybe some idle timeout on the AP). As long as I used
WEP this was no problem, imediately after the disconnect ath0 reconnected:

Sep 30 11:37:39 night-owl /netbsd: ath0: link state changed to DOWN
Sep 30 11:37:39 night-owl /netbsd: ath0: link state changed to UP

Now I switched to using WAP and the reconnects never happen. After a
"link state changed to DOWN" I have to kill and restart wpa_supplicant.
Sometimes it disapears magically - so I can skip the kill step ;-) 

>How-To-Repeat:
Just run wpa_supplicant with an AP that sometimes disassociates you?

>Fix:
n/a