projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7e5793
)
wifi: mac80211: remove key data from get_key callback
author
Johannes Berg
<johannes.berg@intel.com>
Thu, 27 Jun 2024 08:44:12 +0000
(10:44 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Fri, 28 Jun 2024 07:56:21 +0000
(09:56 +0200)
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>
net/mac80211/cfg.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/cfg.c
b/net/mac80211/cfg.c
index 7eb2e5bedb6f11e7748de8c4248db4360499c36c..3d49b3ee3a2b4d7bd100b6c471139a8d7f3b104c 100644
(file)
--- 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, ¶ms);
err = 0;