aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer/eap_otp.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2020-10-26 20:34:07 (GMT)
committerJouni Malinen <j@w1.fi>2020-10-26 20:34:07 (GMT)
commit106d67a93c2d3da2a8e25984ae7b0e17c85783cd (patch)
tree9e732df4a8d06b525200ba9c0fbc303ead36cf25 /src/eap_peer/eap_otp.c
parent9c39c1a6d3c246925e02571dfdf01d0a78082dd2 (diff)
downloadhostap-106d67a93c2d3da2a8e25984ae7b0e17c85783cd.zip
hostap-106d67a93c2d3da2a8e25984ae7b0e17c85783cd.tar.gz
hostap-106d67a93c2d3da2a8e25984ae7b0e17c85783cd.tar.bz2
nl80211: Filter out unsupported bands
If the driver indicates capability for a band that hostapd/wpa_supplicant does not support, the struct hostapd_hw_modes array of bands got an empty entry for that with NUM_HOSTAPD_MODES as the mode. This resulted in various issues, e.g., with fst_hw_mode_to_band() hitting a WPA_ASSERT(0). Fix this by filtering out unsupported bands from the internal data structures. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/eap_peer/eap_otp.c')
0 files changed, 0 insertions, 0 deletions