diff options
author | Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> | 2011-09-10 05:56:35 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-09-16 11:49:26 -0400 |
commit | 170826dd0d9fa71b648aa31ecb1e2973d777dbdb (patch) | |
tree | dfb30aca597edcf06de8fa076c2d521557804f85 /drivers/net/wireless/ath/ath6kl/cfg80211.c | |
parent | ac59a2b285abbcec1ec487ef56dcc25c654853fb (diff) |
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/ath6kl/cfg80211.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/cfg80211.c | 2 |
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, | |||
589 | 589 | ||
590 | up(&ar->sem); | 590 | up(&ar->sem); |
591 | 591 | ||
592 | ar->sme_state = SME_DISCONNECTED; | ||
593 | |||
592 | return 0; | 594 | return 0; |
593 | } | 595 | } |
594 | 596 | ||