mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
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>
This commit is contained in:
parent
a7e5793035
commit
0a3d599143
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user