Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311379
b: refs/heads/master
c: 79543d8
h: refs/heads/master
i:
  311377: 75d8448
  311375: a2caaf2
v: v3
  • Loading branch information
David Spinadel authored and Johannes Berg committed Jun 13, 2012
1 parent e1e7819 commit 9a7cb76
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 554a43d5e77e8256aa9685ffd19ad555e6f77979
refs/heads/master: 79543d8eecc0957ac6fe3ec1e2486ad31d4b67a3
4 changes: 2 additions & 2 deletions trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -1352,6 +1352,8 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata,
if (WARN_ON(!ifmgd->associated))
return;

ieee80211_stop_poll(sdata);

memcpy(bssid, ifmgd->associated->bssid, ETH_ALEN);

ifmgd->associated = NULL;
Expand Down Expand Up @@ -2612,8 +2614,6 @@ static void ieee80211_sta_connection_lost(struct ieee80211_sub_if_data *sdata,
struct ieee80211_if_managed *ifmgd = &sdata->u.mgd;
u8 frame_buf[DEAUTH_DISASSOC_LEN];

ieee80211_stop_poll(sdata);

ieee80211_set_disassoc(sdata, IEEE80211_STYPE_DEAUTH, reason,
false, frame_buf);
mutex_unlock(&ifmgd->mtx);
Expand Down

0 comments on commit 9a7cb76

Please sign in to comment.