Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23291
b: refs/heads/master
c: 48b2e4c
h: refs/heads/master
i:
  23289: 999756e
  23287: c0adce5
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Mar 23, 2006
1 parent 7da129b commit 7147272
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 78e4f36e053b4d2c4623fdc1f6ac63f33d5b7c81
refs/heads/master: 48b2e4ce690dfbf4097e89e6ce0861ab85fd89c9
5 changes: 4 additions & 1 deletion trunk/net/ieee80211/softmac/ieee80211softmac_assoc.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,10 @@ ieee80211softmac_handle_disassoc(struct net_device * dev,
{
struct ieee80211softmac_device *mac = ieee80211_priv(dev);
unsigned long flags;
/* FIXME: check that this frame is from the right AP!! */
if (memcmp(disassoc->header.addr2, mac->associnfo.bssid, ETH_ALEN))
return 0;
if (memcmp(disassoc->header.addr1, mac->dev->dev_addr, ETH_ALEN))
return 0;
dprintk(KERN_INFO PFX "got disassoc frame\n");
netif_carrier_off(dev);
spin_lock_irqsave(&mac->lock, flags);
Expand Down

0 comments on commit 7147272

Please sign in to comment.