summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-06-27 11:44:12 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-06-28 10:56:21 +0300
commit0a3d5991438fcf89c3aebf55c30231faee31567e (patch)
tree9c3234af15a94fb244190796ba91a08465eb9619 /net/mac80211
parenta7e5793035792cc46a1a4b0a783655ffa897dfe9 (diff)
downloadlinux-0a3d5991438fcf89c3aebf55c30231faee31567e.tar.xz
wifi: mac80211: remove key data from get_key callback
This is now unused in nl80211, so there's no need to set the pointer/length. Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20240627104411.f8ac49a8cfe0.Ic01f775903f0acd10b9ba77eb39d4ed50e709173@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/cfg.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 7eb2e5bedb6f..3d49b3ee3a2b 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -742,9 +742,6 @@ static int ieee80211_get_key(struct wiphy *wiphy, struct net_device *dev,
break;
}
- params.key = key->conf.key;
- params.key_len = key->conf.keylen;
-
callback(cookie, &params);
err = 0;