Johannes Berg 408ac28c62 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: Jouni Malinen <j@w1.fi>
Fixes: 4540568136fe ("wifi: mac80211: handle TPE element during CSA")
Link: https://patch.msgid.link/20240709160851.47805f24624d.I024091f701447f7921e93bb23b46e01c2f46347d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-07-10 12:35:58 +02:00
..
2023-09-11 11:27:22 +02:00
2024-03-25 15:22:53 +01:00
2023-09-11 11:27:22 +02:00
2024-06-27 13:53:43 -07:00
2023-09-11 11:27:22 +02:00
2023-09-11 11:27:22 +02:00
2023-09-26 09:16:42 +02:00