[Refactor hostapd to adapt v2.10 from OpenWRT]

[Description]
Refactor hostapd to adapt v2.10 from OpenWRT

[Release-log]
N/A

diff --git a/conf/machine/filogic830-32bit.conf b/conf/machine/filogic830-32bit.conf
index 133cc4a..f638721 100644
--- a/conf/machine/filogic830-32bit.conf
+++ b/conf/machine/filogic830-32bit.conf
@@ -19,6 +19,7 @@
 PREFERRED_VERSION_linux-libc-headers = "5.4"
 PREFERRED_PROVIDER_hal-wifi = "hal-wifi-cfg80211"
 PREFERRED_VERSION_iw_filogic = "5.%"
+PREFERRED_VERSION_hostapd = "2.10"
 
 #masking files for dunfell build
 require conf/include/turris-bbmasks.inc
diff --git a/conf/machine/filogic830.conf b/conf/machine/filogic830.conf
index 0999a3b..734ecfe 100644
--- a/conf/machine/filogic830.conf
+++ b/conf/machine/filogic830.conf
@@ -19,6 +19,7 @@
 PREFERRED_VERSION_linux-libc-headers = "5.4"
 PREFERRED_PROVIDER_hal-wifi = "hal-wifi-cfg80211"
 PREFERRED_VERSION_iw_filogic = "5.%"
+PREFERRED_VERSION_hostapd = "2.10"
 
 #masking files for dunfell build
 require conf/include/turris-bbmasks.inc