Double disconnect event

Jouni Malinen j
Sun Apr 11 11:29:14 PDT 2010


On Wed, Mar 10, 2010 at 03:32:53PM -0800, Dmitry Shmidt wrote:
> The problem is that WEXT distinguishes between EVENT_ASSOC and
> EVENT_DISASSOC if BSSID is set or 0.
> So there is no easy way to understand if this is DISASSOC from "old" BSSID
> or new one

I added some more details to the CTRL-EVENT-DISCONNECTED event. For
example, with nl80211, you can get following information:

CTRL-EVENT-DISCONNECTED bssid=00:11:22:33:44:55 reason=2

(with WEXT, the correct reason code is not available)

This will hopefully make it somewhat easier to map the disconnection
event to a specific network should there be pending request for joining
another network.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list