aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-03-20 06:37:36 -0400
committerJohannes Berg <johannes.berg@intel.com>2015-03-20 06:37:36 -0400
commite8f4fb7c7c6b25dc0495f1fd43b03444f0a5c6e3 (patch)
tree98bd6b2bd1957a8a35ed4bd9a82db3e307e3d7de /net/mac80211/ieee80211_i.h
parentc7ef38e0ccca25050efed56a35df2e1e93c0b469 (diff)
mac80211: remove drop_unencrypted code
This mechanism was historic, and only ever used by IBSS, which also doesn't need to have it as it properly manages station's 802.1X PAE state (or, with WEP, always has a key.) Remove the mechanism to clean up the code. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 0266c573c366..4f4bcc6c5dfe 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -818,8 +818,6 @@ struct ieee80211_sub_if_data {
818 818
819 unsigned long state; 819 unsigned long state;
820 820
821 int drop_unencrypted;
822
823 char name[IFNAMSIZ]; 821 char name[IFNAMSIZ];
824 822
825 /* Fragment table for host-based reassembly */ 823 /* Fragment table for host-based reassembly */
@@ -1262,7 +1260,6 @@ struct ieee80211_local {
1262 /* TX/RX handler statistics */ 1260 /* TX/RX handler statistics */
1263 unsigned int tx_handlers_drop; 1261 unsigned int tx_handlers_drop;
1264 unsigned int tx_handlers_queued; 1262 unsigned int tx_handlers_queued;
1265 unsigned int tx_handlers_drop_unencrypted;
1266 unsigned int tx_handlers_drop_fragment; 1263 unsigned int tx_handlers_drop_fragment;
1267 unsigned int tx_handlers_drop_wep; 1264 unsigned int tx_handlers_drop_wep;
1268 unsigned int tx_handlers_drop_not_assoc; 1265 unsigned int tx_handlers_drop_not_assoc;