Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315544
b: refs/heads/master
c: 4922f71
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas Cavallari authored and Johannes Berg committed Jul 12, 2012
1 parent 7ee5085 commit 0afb0d5
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 46e6de159ddebc179cbae60fd7b728f57c39964b
refs/heads/master: 4922f71f2506e36d81a03f8fec4559bb7d175bf7
3 changes: 3 additions & 0 deletions trunk/net/mac80211/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,9 @@ ieee80211_tx_h_select_key(struct ieee80211_tx_data *tx)
!(ieee80211_is_action(hdr->frame_control) &&
tx->sta && test_sta_flag(tx->sta, WLAN_STA_MFP)))
tx->key = NULL;
else if (ieee80211_is_mgmt(hdr->frame_control) &&
!ieee80211_is_robust_mgmt_frame(hdr))
tx->key = NULL;
else {
I802_DEBUG_INC(tx->local->tx_handlers_drop_unencrypted);
return TX_DROP;
Expand Down

0 comments on commit 0afb0d5

Please sign in to comment.