]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
wifi: mac80211: clarify key idx documententaion
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 1 Jan 2025 05:05:23 +0000 (07:05 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jan 2025 14:26:43 +0000 (15:26 +0100)
ieee80211_key_conf::keyidx s in range 0-7, ano not 0-3. Make this clear
in the documentation.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20250101070249.4e414710fba7.Ib739c40dd5aa6ed148c3151220eb38d8a9e238de@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h

index d1540a605da54c953bf18d30f89d2601465768a9..0d7ddaa952ff09e6f5d45356f54c8ba6017da592 100644 (file)
@@ -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: