diff --git a/CustomFiles/Patches/fix_mac80211.patch b/CustomFiles/Patches/fix_mac80211.patch new file mode 100644 index 0000000..13e7518 --- /dev/null +++ b/CustomFiles/Patches/fix_mac80211.patch @@ -0,0 +1,13 @@ +diff --git a/package/kernel/mac80211/intel.mk b/package/kernel/mac80211/intel.mk +index 8d374d73e744..839127b6306d 100644 +--- a/package/kernel/mac80211/intel.mk ++++ b/package/kernel/mac80211/intel.mk +@@ -6,7 +6,7 @@ config-$(CONFIG_PACKAGE_IWLWIFI_DEBUGFS)+= IWLWIFI_DEBUGFS + + define KernelPackage/iwlwifi + $(call KernelPackage/mac80211/Default) +- DEPENDS:= +kmod-mac80211 @PCI_SUPPORT +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT ++ DEPENDS:= @PCI_SUPPORT +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT +kmod-mac80211 +LINUX_6_1:kmod-fs-efivarfs + TITLE:=Intel AGN Wireless support + FILES:= \ + $(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko \ \ No newline at end of file diff --git a/Scripts/AutoBuild_DiyScript.sh b/Scripts/AutoBuild_DiyScript.sh index 3cdde41..8f5a693 100755 --- a/Scripts/AutoBuild_DiyScript.sh +++ b/Scripts/AutoBuild_DiyScript.sh @@ -119,6 +119,7 @@ EOF sed -i -- 's:/bin/ash:'/bin/bash':g' ${BASE_FILES}/etc/passwd #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} ;; esac ;;