firmware/feed_patches/routing/0002-Add-batman-adv-patch-t...

47 lines
1.6 KiB
Diff

From f8c90adf89a45d9cfd5e189f28d0250e06710764 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20Bl=C3=A4se?= <fabian@blaese.de>
Date: Wed, 11 Jul 2018 13:39:06 +0200
Subject: [PATCH] Add batman-adv patch to remove gw mode switch message
Signed-off-by: Fabian Bläse <fabian@blaese.de>
---
.../0000-Remove-gw-mode-switch-message.patch | 26 +++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 batman-adv/patches/0000-Remove-gw-mode-switch-message.patch
diff --git a/batman-adv/patches/0000-Remove-gw-mode-switch-message.patch b/batman-adv/patches/0000-Remove-gw-mode-switch-message.patch
new file mode 100644
index 0000000..fb49d6c
--- /dev/null
+++ b/batman-adv/patches/0000-Remove-gw-mode-switch-message.patch
@@ -0,0 +1,26 @@
+From 5a99aa98460605dcc649c43b85ae87e36d326cdf Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Fabian=20Bl=C3=A4se?= <fabian@blaese.de>
+Date: Wed, 11 Jul 2018 13:37:08 +0200
+Subject: [PATCH] Remove gw mode switch message
+
+Signed-off-by: Fabian Bläse <fabian@blaese.de>
+---
+ net/batman-adv/sysfs.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/net/batman-adv/sysfs.c b/net/batman-adv/sysfs.c
+index f2eef43b..dc529d50 100644
+--- a/net/batman-adv/sysfs.c
++++ b/net/batman-adv/sysfs.c
+@@ -508,9 +508,6 @@ static ssize_t batadv_store_gw_mode(struct kobject *kobj,
+ break;
+ }
+
+- batadv_info(net_dev, "Changing gw mode from: %s to: %s\n",
+- curr_gw_mode_str, buff);
+-
+ /* Invoking batadv_gw_reselect() is not enough to really de-select the
+ * current GW. It will only instruct the gateway client code to perform
+ * a re-election the next time that this is needed.
+--
+2.18.0
--
2.25.1