From 54d559d706f26cef2bb8e7bd5ea79aa32532eeba Mon Sep 17 00:00:00 2001 From: Alexandre Bard Date: Wed, 12 Jan 2022 00:36:22 +0100 Subject: [PATCH] hw23: Force wpa-supplicant and hostapd versions hw23: Force wpa-supplicant and hostapd versions meta-netmodule-wlan provides modified versions of these tools, but they seem to not work properly on HW23. Since this HW is anyway not supported in meta-netmodule-wlan, we force the usage of latest stable version. BugzID: 77173 Co-authored-by: Patrick Zysset Reviewed-on: https://git.netmodule.intranet/yoctoproject/meta-netmodule-bsp/pulls/111 Co-Authored-By: Alexandre Bard Co-Committed-By: Alexandre Bard --- conf/machine/imx8-nmhw23.conf | 5 +++++ .../hostapd/{hostapd_%.bbappend => hostapd_2.10.bbappend} | 0 ...pa-supplicant_%.bbappend => wpa-supplicant_2.10.bbappend} | 0 3 files changed, 5 insertions(+) rename recipes-connectivity/hostapd/{hostapd_%.bbappend => hostapd_2.10.bbappend} (100%) rename recipes-connectivity/hostapd/{wpa-supplicant_%.bbappend => wpa-supplicant_2.10.bbappend} (100%) diff --git a/conf/machine/imx8-nmhw23.conf b/conf/machine/imx8-nmhw23.conf index 6525207..2622cca 100644 --- a/conf/machine/imx8-nmhw23.conf +++ b/conf/machine/imx8-nmhw23.conf @@ -51,3 +51,8 @@ MACHINE_FEATURES += " \ ACCEPT_FSL_EULA = "1" UBLOX_FEATURES = "jody-w1-pcie" + +# Unstable versions are provided by meta-netmodule-wlan +# We prefer to keep the official stable versions +PREFERRED_VERSION_wpa-supplicant = "2.9" +PREFERRED_VERSION_hostapd = "2.9" diff --git a/recipes-connectivity/hostapd/hostapd_%.bbappend b/recipes-connectivity/hostapd/hostapd_2.10.bbappend similarity index 100% rename from recipes-connectivity/hostapd/hostapd_%.bbappend rename to recipes-connectivity/hostapd/hostapd_2.10.bbappend diff --git a/recipes-connectivity/hostapd/wpa-supplicant_%.bbappend b/recipes-connectivity/hostapd/wpa-supplicant_2.10.bbappend similarity index 100% rename from recipes-connectivity/hostapd/wpa-supplicant_%.bbappend rename to recipes-connectivity/hostapd/wpa-supplicant_2.10.bbappend