From 011187e9f5e44c857502ca660a47c55fbc0a7fcb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Linus=20L=C3=BCssing?= <linus.luessing@c0d3.blue>
Date: Sat, 27 Jul 2019 07:40:26 +0200
Subject: [PATCH] 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.
---
 ...03-batman-adv-remove-module-autoload.patch | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 patches/packages/routing/0003-batman-adv-remove-module-autoload.patch

diff --git a/patches/packages/routing/0003-batman-adv-remove-module-autoload.patch b/patches/packages/routing/0003-batman-adv-remove-module-autoload.patch
new file mode 100644
index 000000000..cd7a809f5
--- /dev/null
+++ b/patches/packages/routing/0003-batman-adv-remove-module-autoload.patch
@@ -0,0 +1,21 @@
+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 ae434909c90f61efdf0d80b56352c983cfef25b0..e58f862b0e5fac7ac12d6ba5a09241d23148a252 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
-- 
GitLab