Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327655
b: refs/heads/master
c: 90bcf86
h: refs/heads/master
i:
  327653: ec10929
  327651: 077e2c7
  327647: 05535b9
v: v3
  • Loading branch information
Johannes Berg committed Aug 20, 2012
1 parent deab12a commit 1227b7d
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 4c29867790131c281ef96af507d85e3e5f829408
refs/heads/master: 90bcf867ceef50155a1a14af4dc248061f6b8b94
6 changes: 2 additions & 4 deletions trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -1696,7 +1696,6 @@ static void __ieee80211_connection_loss(struct ieee80211_sub_if_data *sdata)
{
struct ieee80211_if_managed *ifmgd = &sdata->u.mgd;
struct ieee80211_local *local = sdata->local;
u8 bssid[ETH_ALEN];
u8 frame_buf[DEAUTH_DISASSOC_LEN];

mutex_lock(&ifmgd->mtx);
Expand All @@ -1705,9 +1704,8 @@ static void __ieee80211_connection_loss(struct ieee80211_sub_if_data *sdata)
return;
}

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

sdata_info(sdata, "Connection to AP %pM lost\n", bssid);
sdata_info(sdata, "Connection to AP %pM lost\n",
ifmgd->associated->bssid);

ieee80211_set_disassoc(sdata, IEEE80211_STYPE_DEAUTH,
WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY,
Expand Down

0 comments on commit 1227b7d

Please sign in to comment.