]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: nl80211: don't give key data to userspace
authorJohannes Berg <johannes.berg@intel.com>
Thu, 27 Jun 2024 08:44:11 +0000 (10:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 28 Jun 2024 07:56:18 +0000 (09:56 +0200)
commita7e5793035792cc46a1a4b0a783655ffa897dfe9
treeb4aebeb48ee503d9f59446c128a55086a46b2fb6
parent94833addfaba89d12e5dbd82e350a692c00648ab
wifi: nl80211: don't give key data to userspace

When a key is requested by userspace, there's really no need
to include the key data, the sequence counter is really what
userspace needs in this case. The fact that it's included is
just a historic quirk.

Remove the key data.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20240627104411.b6a4f097e4ea.I7e6cc976cb9e8a80ef25a3351330f313373b4578@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c