diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-01-16 17:24:11 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-01-18 19:31:44 +0300 |
commit | 585b6e1304dcc46e65dc1aaca5973b33abd0c48d (patch) | |
tree | 1f8a9c854f581f2e9eebc95449921308cd622756 /net/wireless/wext-compat.c | |
parent | d0e99511834b6828c960e978d9a8cb6e5731250d (diff) | |
download | linux-585b6e1304dcc46e65dc1aaca5973b33abd0c48d.tar.xz |
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/wext-compat.c')
-rw-r--r-- | net/wireless/wext-compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/wext-compat.c b/net/wireless/wext-compat.c index 8a24dfca75af..e3acfac7430a 100644 --- a/net/wireless/wext-compat.c +++ b/net/wireless/wext-compat.c @@ -439,7 +439,7 @@ static int __cfg80211_set_encryption(struct cfg80211_registered_device *rdev, GFP_KERNEL); if (!wdev->wext.keys) return -ENOMEM; - for (i = 0; i < CFG80211_MAX_WEP_KEYS; i++) + for (i = 0; i < 4; i++) wdev->wext.keys->params[i].key = wdev->wext.keys->data[i]; } |