fix hostapd

This commit is contained in:
xopenwrt 2023-07-12 03:30:59 +08:00 committed by GitHub
parent 1d270ae057
commit 28e80b3bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -30,7 +30,7 @@ CONFIG_PACKAGE_kmod-iwlwifi=y
CONFIG_PACKAGE_hostapd=y
CONFIG_PACKAGE_hostapd-common=y
CONFIG_PACKAGE_wpa-supplicant=y
CONFIG_PACKAGE_kmod-mac80211=y
# CONFIG_PACKAGE_kmod-mac80211=y
CONFIG_TARGET_x86=y

View File

@ -120,6 +120,13 @@ EOF
#sed -i "s?6.0?5.19?g" ${WORK}/target/linux/x86/Makefile
# patch < ${CustomFiles}/Patches/upgrade_intel_igpu_drv.patch -p1 -d ${WORK}
patch < ${CustomFiles}/Patches/fix_mac80211.patch -p1 -d ${WORK}
#fix hostapd
rm -rf package/network/services/hostapd/*
wget https://github.com/coolsnowwolf/lede/archive/2b5fdd941cc4047374fb3ac03c6fdac2f6baa8f8.zip
unzip 2b
cp lede-2b5fdd941cc4047374fb3ac03c6fdac2f6baa8f8/package/network/services/hostapd/* package/network/services/hostapd -r
rm lede-2b5fdd941cc4047374fb3ac03c6fdac2f6baa8f8 -rf
rm 2b5fdd941cc4047374fb3ac03c6fdac2f6baa8f8.zip -rf
;;
esac
;;