mt76: Change AutoLoad macro call for mt7925e and mt7925u
authorDaniel Pawlik <pawlik.dan@gmail.com>
Thu, 22 Aug 2024 19:00:40 +0000 (21:00 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 24 Aug 2024 13:10:39 +0000 (15:10 +0200)
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@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16236
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/mt76/Makefile

index 27a52275d85c85c72c2f820c12158c703f0b76ba..5e5c378953dfe64b0d60fb5ae3e97782ed464066 100644 (file)
@@ -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