From 1ba424a4d040210fdded11a7d6848f9b82857918 Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Tue, 5 Jun 2018 14:28:39 +0200 Subject: [PATCH] batman-adv: Load module with AutoProbe cfg80211 is loaded by kmodloader after the modules with a priority (AutoLoad) are loaded. batman-adv should therefore also be loaded at that time and must not load cfg80211 itself. The information in the ELF header are enough for kmodloader to load these two modules in the correct order. Signed-off-by: Sven Eckelmann --- batman-adv/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batman-adv/Makefile b/batman-adv/Makefile index e261015..97f8cb1 100644 --- a/batman-adv/Makefile +++ b/batman-adv/Makefile @@ -30,7 +30,7 @@ define KernelPackage/batman-adv DEPENDS:=+KMOD_BATMAN_ADV_BLA:kmod-lib-crc16 +kmod-crypto-crc32c +kmod-lib-crc32c +kmod-cfg80211 TITLE:=B.A.T.M.A.N. Adv FILES:=$(PKG_BUILD_DIR)/net/batman-adv/batman-adv.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,50,cfg80211 batman-adv) + AUTOLOAD:=$(call AutoProbe,batman-adv) endef define KernelPackage/batman-adv/description -- 2.30.2