Use deauthentication instead of disassociation if not associated
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 5 Nov 2012 14:55:30 +0000 (16:55 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 5 Nov 2012 14:58:00 +0000 (16:58 +0200)
commit07783eaaa05c07e2c0071780ed3ebf7d0abfe4b5
tree6b4f155be72427fbd8622d132ed04964a27fb9c1
parent42d235477f2345003b76e4de1f397e21c2fa5b76
Use deauthentication instead of disassociation if not associated

cfg80211/mac80211 may reject disassociation command if association has
not yet been formed. Use deauthentication in cases where it is possible
that we are associating at the moment the command is issued.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/dbus/dbus_new_handlers.c
wpa_supplicant/events.c
wpa_supplicant/wpa_supplicant.c