Jouni Malinen 106d67a93c 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>
2020-10-26 22:34:07 +02:00
..
2020-04-24 17:06:50 +03:00
2020-04-24 17:06:50 +03:00
2020-10-20 00:37:01 +03:00
2020-10-12 20:18:02 +03:00
2020-10-16 12:51:12 +03:00
2020-10-10 12:48:41 +03:00
2020-10-12 11:05:16 +03:00