[openwrt/openwrt] mt76: Change AutoLoad macro call for mt7925e and mt7925u

LEDE Commits lede-commits at lists.infradead.org
Sat Aug 24 06:11:18 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/b68e34c83771167f25d301adf5fb4de57bb2eab2

commit b68e34c83771167f25d301adf5fb4de57bb2eab2
Author: Daniel Pawlik <pawlik.dan at gmail.com>
AuthorDate: Thu Aug 22 21:00:40 2024 +0200

    mt76: Change AutoLoad macro call for mt7925e and mt7925u
    
    There was a typo done for mt7925e and mt7925u in the KernelPackage
    definitions, which caused the system to load the wrong kernel modules.
    
    Signed-off-by: Daniel Pawlik <pawlik.dan at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/16236
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/mt76/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile
index 27a52275d8..5e5c378953 100644
--- a/package/kernel/mt76/Makefile
+++ b/package/kernel/mt76/Makefile
@@ -348,7 +348,7 @@ define KernelPackage/mt7925u
   TITLE:=MediaTek MT7925U wireless driver
   DEPENDS+=+kmod-mt792x-usb +kmod-mt7925-common
   FILES:= $(PKG_BUILD_DIR)/mt7925/mt7925u.ko
-  AUTOLOAD:=$(call AutoProbe,mt7921u)
+  AUTOLOAD:=$(call AutoProbe,mt7925u)
 endef
 
 define KernelPackage/mt7925e
@@ -356,7 +356,7 @@ define KernelPackage/mt7925e
   TITLE:=MediaTek MT7925e wireless driver
   DEPENDS+=@PCI_SUPPORT +kmod-mt7925-common
   FILES:= $(PKG_BUILD_DIR)/mt7925/mt7925e.ko
-  AUTOLOAD:=$(call AutoProbe,mt7921e)
+  AUTOLOAD:=$(call AutoProbe,mt7925e)
 endef
 
 define Package/mt76-test




More information about the lede-commits mailing list