summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Kephart <dan.kephart@lairdtech.com>2016-07-09 03:04:19 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2016-07-19 19:56:20 +0200
commit42e54152e7070f53294fc41d7f12749ba8bf9aab (patch)
tree367be2035bccd28037e80b9f2858e30ddea0363f
parentath6kl: Unset IFF_LOWER_UP flag on AP mode leave. (diff)
downloadlinux-42e54152e7070f53294fc41d7f12749ba8bf9aab.tar.xz
linux-42e54152e7070f53294fc41d7f12749ba8bf9aab.zip
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: Dan Kephart <dan.kephart@lairdtech.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r--drivers/net/wireless/ath/ath6kl/cfg80211.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index 62354ec6c5f6..4ad6284fc37d 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -847,8 +847,6 @@ static int ath6kl_cfg80211_disconnect(struct wiphy *wiphy,
up(&ar->sem);
- vif->sme_state = SME_DISCONNECTED;
-
return 0;
}