Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223195
b: refs/heads/master
c: 2c31333
h: refs/heads/master
i:
  223193: 00df21b
  223191: f4d58dd
v: v3
  • Loading branch information
Christian Lamparter authored and John W. Linville committed Nov 30, 2010
1 parent 85db737 commit e7cfe60
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cf63495d0dbe435b475a44672f5dee150da6471b
refs/heads/master: 2c31333a8fde7e26936a9f5371d02ff12c490993
4 changes: 4 additions & 0 deletions trunk/net/mac80211/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2247,6 +2247,10 @@ ieee80211_rx_h_mgmt(struct ieee80211_rx_data *rx)
break;
case cpu_to_le16(IEEE80211_STYPE_DEAUTH):
case cpu_to_le16(IEEE80211_STYPE_DISASSOC):
if (is_multicast_ether_addr(mgmt->da) &&
!is_broadcast_ether_addr(mgmt->da))
return RX_DROP_MONITOR;

/* process only for station */
if (sdata->vif.type != NL80211_IFTYPE_STATION)
return RX_DROP_MONITOR;
Expand Down

0 comments on commit e7cfe60

Please sign in to comment.