hostapd: enable CONFIG_OCV when 802.11be support is enabled

The 802.11be supoort code unconditionally calls ocv related functions

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2025-07-07 17:15:54 +02:00
parent 7c8d73e374
commit a7ab0d5bff

View file

@ -99,7 +99,9 @@ DRIVER_MAKEOPTS= \
CONFIG_IEEE80211AX=$(HOSTAPD_IEEE80211AX) \
CONFIG_IEEE80211BE=$(HOSTAPD_IEEE80211BE) \
CONFIG_MBO=$(CONFIG_WPA_MBO_SUPPORT) \
CONFIG_UCODE=y CONFIG_APUP=y
CONFIG_UCODE=y CONFIG_APUP=y \
$(if $(HOSTAPD_IEEE80211BE),CONFIG_OCV=y)
ifeq ($(SSL_VARIANT),openssl)
DRIVER_MAKEOPTS += CONFIG_TLS=openssl CONFIG_SAE=y