Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290767
b: refs/heads/master
c: 02d83e6
h: refs/heads/master
i:
  290765: 05cf112
  290763: 28fdbae
  290759: 0125aa6
  290751: 5182bf9
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Feb 29, 2012
1 parent dd1791a commit 20e9cf5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 5fef7dbcadbb85079d3bf56625dd12e6d2816e3d
refs/heads/master: 02d83e60b9864e7920d87b49e1fbedffd32470f8
6 changes: 3 additions & 3 deletions trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -1684,7 +1684,7 @@ static void __ieee80211_connection_loss(struct ieee80211_sub_if_data *sdata)
printk(KERN_DEBUG "%s: Connection to AP %pM lost.\n",
sdata->name, bssid);

ieee80211_set_disassoc(sdata, true, true);
ieee80211_set_disassoc(sdata, true, false);
mutex_unlock(&ifmgd->mtx);

/*
Expand Down Expand Up @@ -2699,7 +2699,7 @@ static void ieee80211_sta_connection_lost(struct ieee80211_sub_if_data *sdata,
ifmgd->flags &= ~(IEEE80211_STA_CONNECTION_POLL |
IEEE80211_STA_BEACON_POLL);

ieee80211_set_disassoc(sdata, true, true);
ieee80211_set_disassoc(sdata, true, false);
mutex_unlock(&ifmgd->mtx);
/*
* must be outside lock due to cfg80211,
Expand Down Expand Up @@ -3500,7 +3500,7 @@ int ieee80211_mgd_disassoc(struct ieee80211_sub_if_data *sdata,
sdata->name, req->bss->bssid, req->reason_code);

memcpy(bssid, req->bss->bssid, ETH_ALEN);
ieee80211_set_disassoc(sdata, false, true);
ieee80211_set_disassoc(sdata, false, !req->local_state_change);

mutex_unlock(&ifmgd->mtx);

Expand Down

0 comments on commit 20e9cf5

Please sign in to comment.