Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279242
b: refs/heads/master
c: c97a31b
h: refs/heads/master
v: v3
  • Loading branch information
Kalle Valo committed Dec 13, 2011
1 parent 65a0c75 commit 9f7f04f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d6d5c06c3cf6b1b5b4ffaac8a05c0cea97f90857
refs/heads/master: c97a31b002d34595f74d2cb0d8017c183e7157d4
8 changes: 2 additions & 6 deletions trunk/drivers/net/wireless/ath/ath6kl/cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -2405,19 +2405,15 @@ void ath6kl_cfg80211_stop(struct ath6kl *ar)
}

switch (vif->sme_state) {
case SME_DISCONNECTED:
break;
case SME_CONNECTING:
cfg80211_connect_result(vif->ndev, vif->bssid, NULL, 0,
NULL, 0,
WLAN_STATUS_UNSPECIFIED_FAILURE,
GFP_KERNEL);
break;
case SME_CONNECTED:
default:
/*
* FIXME: oddly enough smeState is in DISCONNECTED during
* suspend, why? Need to send disconnected event in that
* state.
*/
cfg80211_disconnected(vif->ndev, 0, NULL, 0, GFP_KERNEL);
break;
}
Expand Down

0 comments on commit 9f7f04f

Please sign in to comment.