diff options
Diffstat (limited to 'net/mac80211/tx.c')
| -rw-r--r-- | net/mac80211/tx.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index d82d22b6a2a9..8bd01dfa75cb 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -651,7 +651,8 @@ ieee80211_tx_h_select_key(struct ieee80211_tx_data *tx)  		}  		if (unlikely(tx->key && tx->key->flags & KEY_FLAG_TAINTED && -			     !ieee80211_is_deauth(hdr->frame_control))) +			     !ieee80211_is_deauth(hdr->frame_control)) && +			     tx->skb->protocol != tx->sdata->control_port_protocol)  			return TX_DROP;  		if (!skip_hw && tx->key && | 
