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

Commit 42e54152 authored by Dan Kephart's avatar Dan Kephart Committed by Kalle Valo
Browse files

ath6kl: sme_state shortcut to SME_DISCONNECTED removed



When an NL80211_DISCONNECT is sent to cfg80211, the driver's cfg80211
disconnect function sets the sme_state to SME_DISCONNECTED before receiving
a WMI_DISCONNECT_EVENT from the firmware.  This caused cfg80211 to not know
that the connection is disconnected because the driver fails to notify
cfg80211 upon receiving WMI_DISCONNECT_EVENT from the firmware believing
it is already disconnected.

Signed-off-by: default avatarDan Kephart <dan.kephart@lairdtech.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 76b817f6
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -847,8 +847,6 @@ static int ath6kl_cfg80211_disconnect(struct wiphy *wiphy,

	up(&ar->sem);

	vif->sme_state = SME_DISCONNECTED;

	return 0;
}