diff options
author | John Crispin <[email protected]> | 2020-09-18 13:53:04 +0200 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2020-09-18 14:01:24 +0200 |
commit | 75bcbd6913de649601f4e7d3fb6d2b5effc24e9e (patch) | |
tree | 7761950d1f1bb546ec8076964c26b4803b08686c /lib/mpi/mpiutil.c | |
parent | 3bd5c7a28a7c3aba07a2d300d43f8e988809e147 (diff) |
mac80211: fix 80 MHz association to 160/80+80 AP on 6 GHz
When trying to associate to an AP support 180 or 80+80 MHz on 6 GHz with a
STA that only has 80 Mhz support the cf2 field inside the chandef will get
set causing the association to fail when trying to validate the chandef.
Fix this by checking the support flags prior to setting cf2.
Fixes: 57fa5e85d53ce ("mac80211: determine chandef from HE 6 GHz operation")
Signed-off-by: John Crispin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[reword commit message a bit]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions