Commit 0b34c91b authored by Shivani Baranwal's avatar Shivani Baranwal
Browse files

FROMGIT: wifi: cfg80211: Fix extended KCK key length check in nl80211_set_rekey_data()

The extended KCK key length check wrongly using the KEK key attribute
for validation. Due to this GTK rekey offload is failing when the KCK
key length is 24 bytes even though the driver advertising
WIPHY_FLAG_SUPPORTS_EXT_KEK_KCK flag. Use correct attribute to fix the
same.

Fixes: 093a48d2 ("cfg80211: support bigger kek/kck key length")
Link: https://lore.kernel.org/r/20221206143715.1802987-2-quic_vjakkam@quicinc.com


Signed-off-by: default avatarShivani Baranwal <quic_shivbara@quicinc.com>
Signed-off-by: default avatarVeerendranath Jakkam <quic_vjakkam@quicinc.com>

Bug: 267404496
Change-Id: Ic7d24f52e56712a97998168d36545643dfce13f1
(cherry picked from commit df4969ca
https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git

 main)
Signed-off-by: default avatarShivani Baranwal <quic_shivbara@quicinc.com>
parent f719d33f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment