Double disconnect event

Dmitry Shmidt dimitrysh
Mon Feb 22 15:41:51 PST 2010


Hello,

Working with several WEXT-supported driver I see that they are sending
SIOCGIWAP event
(DISASSOCIATE) for both DISASSOCIATE and DEAUTHENTICATE internal driver events
by using
  wireless_send_event(SIOCGIWAP);

In case of AP with no security it will be just one message, but
otherwise it will send the message twice.
driver_wext.c event handling will call
   wpa_supplicant_event(ctx, EVENT_DISASSOC, NULL);
twice for each of driver's events with small delay.

It is not a big deal for wpa_supplicant itself but it may confuse
network manager.

Will it be "safe" to suppress the second message on driver_wext.c layer?
Am I missing something?

Thanks,

Dmitry



More information about the Hostap mailing list