From: Miri Korenblit Date: Wed, 1 Jan 2025 05:05:23 +0000 (+0200) Subject: wifi: mac80211: clarify key idx documententaion X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=dfd5b5b5b725aa033e88b02adc3980a3fcf361d0;p=users%2Fwilly%2Flinux.git wifi: mac80211: clarify key idx documententaion ieee80211_key_conf::keyidx s in range 0-7, ano not 0-3. Make this clear in the documentation. Signed-off-by: Miri Korenblit Reviewed-by: Johannes Berg Link: https://patch.msgid.link/20250101070249.4e414710fba7.Ib739c40dd5aa6ed148c3151220eb38d8a9e238de@changeid Signed-off-by: Johannes Berg --- diff --git a/include/net/mac80211.h b/include/net/mac80211.h index d1540a605da5..0d7ddaa952ff 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -2220,7 +2220,7 @@ enum ieee80211_key_flags { * @tx_pn: PN used for TX keys, may be used by the driver as well if it * needs to do software PN assignment by itself (e.g. due to TSO) * @flags: key flags, see &enum ieee80211_key_flags. - * @keyidx: the key index (0-3) + * @keyidx: the key index (0-7) * @keylen: key material length * @key: key material. For ALG_TKIP the key is encoded as a 256-bit (32 byte) * data block: