Commit 0a3d5991 authored by Johannes Berg's avatar Johannes Berg

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: default avatarMiriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20240627104411.f8ac49a8cfe0.Ic01f775903f0acd10b9ba77eb39d4ed50e709173@changeidSigned-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent a7e57930
...@@ -742,9 +742,6 @@ static int ieee80211_get_key(struct wiphy *wiphy, struct net_device *dev, ...@@ -742,9 +742,6 @@ static int ieee80211_get_key(struct wiphy *wiphy, struct net_device *dev,
break; break;
} }
params.key = key->conf.key;
params.key_len = key->conf.keylen;
callback(cookie, &params); callback(cookie, &params);
err = 0; err = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment