gluon/patches/packages/routing/0003-batman-adv-remove-module-autoload.patch
2020-01-06 23:38:05 +01:00

22 lines
912 B
Diff

From: Linus Lüssing <linus.luessing@c0d3.blue>
Date: Sun, 16 Jun 2019 00:01:36 +0200
Subject: batman-adv: remove module autoload
Instead of unconditionally loading this module on boot the gluon_bat0
netifd protocol script will later take care of loading either the batman-adv
or batman-adv-legacy module, depending on the configured routing
algorithm in UCI.
diff --git a/batman-adv/Makefile b/batman-adv/Makefile
index 20bcf0a596c712c82ecdf0c85073a7301b8ad893..35481f925dd36511ed556da57192ea4681dc7c86 100644
--- a/batman-adv/Makefile
+++ b/batman-adv/Makefile
@@ -30,7 +30,6 @@ 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 AutoProbe,batman-adv)
endef
define KernelPackage/batman-adv/description