Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f405255 authored by Kalle Valo's avatar Kalle Valo
Browse files

ath6kl: reset CONNECT_PEND and CONNECTED flags in ath6kl_cfg80211_stop()



Otherwise first connection establish after cutpower suspend will
fail.

Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent ec4b7f60
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2152,6 +2152,8 @@ void ath6kl_cfg80211_stop(struct ath6kl *ar)
		ath6kl_wmi_disconnect_cmd(ar->wmi, vif->fw_vif_idx);

	vif->sme_state = SME_DISCONNECTED;
	clear_bit(CONNECTED, &vif->flags);
	clear_bit(CONNECT_PEND, &vif->flags);

	/* disable scanning */
	if (ath6kl_wmi_scanparams_cmd(ar->wmi, vif->fw_vif_idx, 0xFFFF, 0, 0,