|
@@ -3018,6 +3018,7 @@ next_driver:
|
|
static void wpa_supplicant_deinit_iface(struct wpa_supplicant *wpa_s,
|
|
static void wpa_supplicant_deinit_iface(struct wpa_supplicant *wpa_s,
|
|
int notify, int terminate)
|
|
int notify, int terminate)
|
|
{
|
|
{
|
|
|
|
+ wpa_s->disconnected = 1;
|
|
if (wpa_s->drv_priv) {
|
|
if (wpa_s->drv_priv) {
|
|
wpa_supplicant_deauthenticate(wpa_s,
|
|
wpa_supplicant_deauthenticate(wpa_s,
|
|
WLAN_REASON_DEAUTH_LEAVING);
|
|
WLAN_REASON_DEAUTH_LEAVING);
|