Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352551
b: refs/heads/master
c: e54faf2
h: refs/heads/master
i:
  352549: b3b89e5
  352547: 190a891
  352543: 67c57d8
v: v3
  • Loading branch information
Johannes Berg committed Feb 4, 2013
1 parent b5f4a35 commit 6fdbeab
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 2ca813ad61136896c91a40194452ff665a522711
refs/heads/master: e54faf29e07b6cc28a44a4f01d7fbc40905a67d3
3 changes: 2 additions & 1 deletion trunk/net/mac80211/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,8 @@ ieee80211_tx_h_select_key(struct ieee80211_tx_data *tx)
break;
}

if (unlikely(tx->key && tx->key->flags & KEY_FLAG_TAINTED))
if (unlikely(tx->key && tx->key->flags & KEY_FLAG_TAINTED &&
!ieee80211_is_deauth(hdr->frame_control)))
return TX_DROP;

if (!skip_hw && tx->key &&
Expand Down

0 comments on commit 6fdbeab

Please sign in to comment.