hostapd: add support for ccimx6qpsbc platform

https://jira.digi.com/browse/DEL-5082

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2017-10-03 17:28:10 +02:00
parent f1b47c1111
commit f36e8a94a1
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
SRC_URI_append = " file://hostapd_wlan0.conf"
SRC_URI_append_ccimx6ul = " file://hostapd_wlan1.conf"
SRC_URI_append_ccimx6qpsbc = " file://hostapd_wlan1.conf"
do_install_append() {
# Remove the default hostapd.conf
@ -17,6 +18,11 @@ do_install_append_ccimx6ul() {
install -m 0644 ${WORKDIR}/hostapd_wlan1.conf ${D}${sysconfdir}
}
do_install_append_ccimx6qpsbc() {
# Install custom hostapd_IFACE.conf file
install -m 0644 ${WORKDIR}/hostapd_wlan1.conf ${D}${sysconfdir}
}
pkg_postinst_${PN}() {
# Append the last two bytes of the wlan0 MAC address to the SSID of the
# hostAP configuration files