Browse Source

mt76: probe load mt7615 driver asynchronously

It can take a long time to load the firmware

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 6 years ago
parent
commit
8176431963
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/kernel/mt76/Makefile

+ 1 - 0
package/kernel/mt76/Makefile

@@ -144,6 +144,7 @@ define KernelPackage/mt7615e
   DEPENDS+=@PCI_SUPPORT +kmod-mt76-core
   DEPENDS+=@PCI_SUPPORT +kmod-mt76-core
   FILES:=\
   FILES:=\
 	$(PKG_BUILD_DIR)/mt7615/mt7615e.ko
 	$(PKG_BUILD_DIR)/mt7615/mt7615e.ko
+  MODPARAMS:=async_probe
   AUTOLOAD:=$(call AutoProbe,mt7615e)
   AUTOLOAD:=$(call AutoProbe,mt7615e)
 endef
 endef