aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/tx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index a74ab797fed9..9afbee0d53c0 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -553,9 +553,6 @@ ieee80211_tx_h_select_key(struct ieee80211_tx_data *tx)
553 } 553 }
554 } 554 }
555 555
556 if (!tx->key || !(tx->key->flags & KEY_FLAG_UPLOADED_TO_HARDWARE))
557 info->flags |= IEEE80211_TX_INTFL_DONT_ENCRYPT;
558
559 return TX_CONTINUE; 556 return TX_CONTINUE;
560} 557}
561 558