mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]>
This commit is contained in:
parent
ec4b7f602d
commit
1f40525512
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue