summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin.berg@intel.com>2025-01-02 16:20:05 +0200
committerJohannes Berg <johannes.berg@intel.com>2025-01-13 15:34:09 +0100
commit6bd9a087c8035626e7bfb6b678c9e036b8b26038 (patch)
treecbbe2c57b777fdf7e4b90b00f6a31f15f95dd8cd /include
parente3d91a681cb5bcf283bc9c8647ba56aede69a38a (diff)
downloadlwn-6bd9a087c8035626e7bfb6b678c9e036b8b26038.tar.gz
lwn-6bd9a087c8035626e7bfb6b678c9e036b8b26038.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/net/mac80211.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 0d7ddaa952ff..c3ed2fcff8b7 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -2229,7 +2229,7 @@ enum ieee80211_key_flags {
* - Temporal Authenticator Rx MIC Key (64 bits)
* @icv_len: The ICV length for this key type
* @iv_len: The IV length for this key type
- * @link_id: the link ID for MLO, or -1 for non-MLO or pairwise keys
+ * @link_id: the link ID, 0 for non-MLO, or -1 for pairwise keys
*/
struct ieee80211_key_conf {
atomic64_t tx_pn;