]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mac80211: set key link ID to the deflink one
authorBenjamin Berg <benjamin.berg@intel.com>
Thu, 2 Jan 2025 14:20:05 +0000 (16:20 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jan 2025 14:34:09 +0000 (15:34 +0100)
commit6bd9a087c8035626e7bfb6b678c9e036b8b26038
treecbbe2c57b777fdf7e4b90b00f6a31f15f95dd8cd
parente3d91a681cb5bcf283bc9c8647ba56aede69a38a
wifi: mac80211: set key link ID to the deflink one

When in non-MLO mode, the key ID was set to -1 even for keys that are
not pairwise. Change the link ID to be the link ID of the deflink in
this case so that drivers do not need to special cases for this.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250102161730.0c066f084677.I4a5c288465e75119edb6a0df90dddf6f30d14a02@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/key.c