Skip to content

Commit

Permalink
ath6kl: Set the sme_state to disconnected in disconnect() callback
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vasanthakumar Thiagarajan authored and Kalle Valo committed Sep 16, 2011
1 parent ac59a2b commit 170826d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/ath/ath6kl/cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,8 @@ static int ath6kl_cfg80211_disconnect(struct wiphy *wiphy,

up(&ar->sem);

ar->sme_state = SME_DISCONNECTED;

return 0;
}

Expand Down

0 comments on commit 170826d

Please sign in to comment.