]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix creating 6 GHz IBSS/mesh on 5/6 GHz-capable PHYs
authorNicolas Cavallari <nicolas.cavallari@green-communications.fr>
Wed, 15 Feb 2023 17:02:52 +0000 (18:02 +0100)
committerJouni Malinen <j@w1.fi>
Mon, 20 Feb 2023 22:32:10 +0000 (00:32 +0200)
commitf91f971bdeca0680bb2084644f45dfdc8ad79d7b
treed8b0858735dfe27440f367a8888cc886dcb7c0be
parentc623cee421d8daf44d3db401592cac6771380365
Fix creating 6 GHz IBSS/mesh on 5/6 GHz-capable PHYs

If the PHY supports both 5 GHz and 6 GHz bands, there will be two
different struct hostapd_hw_modes with mode HOSTAPD_MODE_IEEE80211A,
one for each band, with potentially different capabilities.

Check that the struct hostapd_hw_modes actually contains the frequency
before selecting it.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
wpa_supplicant/wpa_supplicant.c