diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index d3d4dfddc85..cdaf636c4ae 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -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