|
@@ -760,6 +760,9 @@ void wpa_supplicant_set_state(struct wpa_supplicant *wpa_s,
|
|
if (state == WPA_DISCONNECTED || state == WPA_INACTIVE)
|
|
if (state == WPA_DISCONNECTED || state == WPA_INACTIVE)
|
|
wpa_supplicant_start_autoscan(wpa_s);
|
|
wpa_supplicant_start_autoscan(wpa_s);
|
|
|
|
|
|
|
|
+ if (old_state >= WPA_ASSOCIATED && wpa_s->wpa_state < WPA_ASSOCIATED)
|
|
|
|
+ wmm_ac_notify_disassoc(wpa_s);
|
|
|
|
+
|
|
if (wpa_s->wpa_state != old_state) {
|
|
if (wpa_s->wpa_state != old_state) {
|
|
wpas_notify_state_changed(wpa_s, wpa_s->wpa_state, old_state);
|
|
wpas_notify_state_changed(wpa_s, wpa_s->wpa_state, old_state);
|
|
|
|
|