summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>2011-09-10 15:26:35 +0530
committerKalle Valo <kvalo@qca.qualcomm.com>2011-09-16 18:49:26 +0300
commit170826dd0d9fa71b648aa31ecb1e2973d777dbdb (patch)
treedfb30aca597edcf06de8fa076c2d521557804f85 /drivers/net/wireless/ath
parentac59a2b285abbcec1ec487ef56dcc25c654853fb (diff)
downloadblackbird-op-linux-170826dd0d9fa71b648aa31ecb1e2973d777dbdb.tar.gz
blackbird-op-linux-170826dd0d9fa71b648aa31ecb1e2973d777dbdb.zip
ath6kl: Set the sme_state to disconnected in disconnect() callback
After a successful completion of disconnect() driver needs to set it's sme_state to SME_DISCONNECTED to be in sync with cfg80211 state. Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r--drivers/net/wireless/ath/ath6kl/cfg80211.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index fcef417884b8..17bb8e28b338 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -589,6 +589,8 @@ static int ath6kl_cfg80211_disconnect(struct wiphy *wiphy,
up(&ar->sem);
+ ar->sme_state = SME_DISCONNECTED;
+
return 0;
}
OpenPOWER on IntegriCloud