Skip to content
Commit 408ac28c authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: mac80211: fix AP chandef capturing in CSA



When the CSA is announced with only HT elements, the AP
chandef isn't captured correctly, leading to crashes in
the later code that checks for TPE changes during CSA.

Capture the AP chandef correctly in both cases to fix
this.

Reported-by: default avatarJouni Malinen <j@w1.fi>
Fixes: 45405681 ("wifi: mac80211: handle TPE element during CSA")
Link: https://patch.msgid.link/20240709160851.47805f24624d.I024091f701447f7921e93bb23b46e01c2f46347d@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 003eae5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment