Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122467
b: refs/heads/master
c: 8e268e4
h: refs/heads/master
i:
  122465: af8f4b5
  122463: 49600d7
v: v3
  • Loading branch information
Tomas Winkler authored and John W. Linville committed Dec 5, 2008
1 parent 6de4892 commit 53a6c36
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 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: e327b847e67051ece8d121f9aebeb4d736c36a02
refs/heads/master: 8e268e47b8ca5bddd189320884c3cc7d9ae489f4
18 changes: 14 additions & 4 deletions trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -855,16 +855,26 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata,
if (self_disconnected || reason == WLAN_REASON_DISASSOC_STA_HAS_LEFT)
ifsta->state = IEEE80211_STA_MLME_DISABLED;

sta_info_unlink(&sta);

rcu_read_unlock();

sta_info_destroy(sta);

local->hw.conf.ht.enabled = false;
ieee80211_hw_config(local, IEEE80211_CONF_CHANGE_HT);

ieee80211_bss_info_change_notify(sdata, changed);

rcu_read_lock();

sta = sta_info_get(local, ifsta->bssid);
if (!sta) {
rcu_read_unlock();
return;
}

sta_info_unlink(&sta);

rcu_read_unlock();

sta_info_destroy(sta);
}

static int ieee80211_sta_wep_configured(struct ieee80211_sub_if_data *sdata)
Expand Down

0 comments on commit 53a6c36

Please sign in to comment.