summaryrefslogtreecommitdiff
path: root/net/wireless/core.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-01-16 15:24:11 +0100
committerJohannes Berg <johannes.berg@intel.com>2023-01-18 17:31:44 +0100
commit585b6e1304dcc46e65dc1aaca5973b33abd0c48d (patch)
tree1f8a9c854f581f2e9eebc95449921308cd622756 /net/wireless/core.h
parentd0e99511834b6828c960e978d9a8cb6e5731250d (diff)
downloadlwn-585b6e1304dcc46e65dc1aaca5973b33abd0c48d.tar.gz
lwn-585b6e1304dcc46e65dc1aaca5973b33abd0c48d.zip
wifi: cfg80211: remove support for static WEP
This reverts commit b8676221f00d ("cfg80211: Add support for static WEP in the driver") since no driver ever ended up using it. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r--net/wireless/core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h
index af85d8909935..7c61752f6d83 100644
--- a/net/wireless/core.h
+++ b/net/wireless/core.h
@@ -278,8 +278,8 @@ struct cfg80211_event {
};
struct cfg80211_cached_keys {
- struct key_params params[CFG80211_MAX_WEP_KEYS];
- u8 data[CFG80211_MAX_WEP_KEYS][WLAN_KEY_LEN_WEP104];
+ struct key_params params[4];
+ u8 data[4][WLAN_KEY_LEN_WEP104];
int def;
};