Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255729
b: refs/heads/master
c: 323222b
h: refs/heads/master
i:
  255727: b78cdda
v: v3
  • Loading branch information
Paul Stewart authored and John W. Linville committed Jun 10, 2011
1 parent 1ee9d11 commit b9b2658
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: fd854772c11d6ad0377f0b613142e397bec58a3a
refs/heads/master: 323222b5ff930a43eab45cec6e58345740fa2a29
4 changes: 3 additions & 1 deletion trunk/net/wireless/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ void __cfg80211_send_deauth(struct net_device *dev,
break;
}
if (wdev->authtry_bsses[i] &&
memcmp(wdev->authtry_bsses[i]->pub.bssid, bssid, ETH_ALEN) == 0) {
memcmp(wdev->authtry_bsses[i]->pub.bssid, bssid,
ETH_ALEN) == 0 &&
memcmp(mgmt->sa, dev->dev_addr, ETH_ALEN) == 0) {
cfg80211_unhold_bss(wdev->authtry_bsses[i]);
cfg80211_put_bss(&wdev->authtry_bsses[i]->pub);
wdev->authtry_bsses[i] = NULL;
Expand Down

0 comments on commit b9b2658

Please sign in to comment.