Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111625
b: refs/heads/master
c: 3b7ee69
h: refs/heads/master
i:
  111623: 4b09981
v: v3
  • Loading branch information
Tomas Winkler authored and John W. Linville committed Sep 11, 2008
1 parent 1981287 commit 9522faa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: aa458d1737c3cc9a7c90ea9c5ef1ee6d663fba71
refs/heads/master: 3b7ee69d0caefbdb85a606a98bff841b8c63b97e
9 changes: 7 additions & 2 deletions trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -3271,9 +3271,14 @@ void ieee80211_sta_req_auth(struct ieee80211_sub_if_data *sdata,
return;

if ((ifsta->flags & (IEEE80211_STA_BSSID_SET |
IEEE80211_STA_AUTO_BSSID_SEL)) &&
IEEE80211_STA_AUTO_BSSID_SEL)) &&
(ifsta->flags & (IEEE80211_STA_SSID_SET |
IEEE80211_STA_AUTO_SSID_SEL))) {
IEEE80211_STA_AUTO_SSID_SEL))) {

if (ifsta->state == IEEE80211_STA_MLME_ASSOCIATED)
ieee80211_set_disassoc(sdata, ifsta, true, true,
WLAN_REASON_DEAUTH_LEAVING);

set_bit(IEEE80211_STA_REQ_AUTH, &ifsta->request);
queue_work(local->hw.workqueue, &ifsta->work);
}
Expand Down

0 comments on commit 9522faa

Please sign in to comment.