mirror of https://gitee.com/openkylin/linux.git
ath6kl: reset CONNECT_PEND and CONNECTED flags in ath6kl_cfg80211_stop()
Otherwise first connection establish after cutpower suspend will fail. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
ec4b7f602d
commit
1f40525512
|
@ -2152,6 +2152,8 @@ void ath6kl_cfg80211_stop(struct ath6kl *ar)
|
||||||
ath6kl_wmi_disconnect_cmd(ar->wmi, vif->fw_vif_idx);
|
ath6kl_wmi_disconnect_cmd(ar->wmi, vif->fw_vif_idx);
|
||||||
|
|
||||||
vif->sme_state = SME_DISCONNECTED;
|
vif->sme_state = SME_DISCONNECTED;
|
||||||
|
clear_bit(CONNECTED, &vif->flags);
|
||||||
|
clear_bit(CONNECT_PEND, &vif->flags);
|
||||||
|
|
||||||
/* disable scanning */
|
/* disable scanning */
|
||||||
if (ath6kl_wmi_scanparams_cmd(ar->wmi, vif->fw_vif_idx, 0xFFFF, 0, 0,
|
if (ath6kl_wmi_scanparams_cmd(ar->wmi, vif->fw_vif_idx, 0xFFFF, 0, 0,
|
||||||
|
|
Loading…
Reference in New Issue