diff options
author | Ming Liu <ming.liu@toradex.com> | 2022-02-02 16:59:30 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2022-02-18 14:52:10 +0100 |
commit | e8b4e32dfca815ca3a7694b956ed3726a20c1590 (patch) | |
tree | 0ad8254dc8b11ecaba31e952fc05d58f758777c4 /recipes-connectivity/connman/connman/0001-Adjust-main-configuration.patch | |
parent | 47350419257698d79313383c4ec90f2041205d07 (diff) |
connman: disable background scan
Disable BackgroundScan in main.conf.
Related-to: ELB-4148
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 097df183d8e70cfcf4267425c195a6dcfcdbc9ed)
Diffstat (limited to 'recipes-connectivity/connman/connman/0001-Adjust-main-configuration.patch')
-rw-r--r-- | recipes-connectivity/connman/connman/0001-Adjust-main-configuration.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes-connectivity/connman/connman/0001-Adjust-main-configuration.patch b/recipes-connectivity/connman/connman/0001-Adjust-main-configuration.patch new file mode 100644 index 0000000..91949a2 --- /dev/null +++ b/recipes-connectivity/connman/connman/0001-Adjust-main-configuration.patch @@ -0,0 +1,41 @@ +From 0d23846576b53b6a2a8391a29d44e82bf3aed588 Mon Sep 17 00:00:00 2001 +From: Ming Liu <ming.liu@toradex.com> +Date: Tue, 28 Dec 2021 13:50:13 +0100 +Subject: [PATCH] Adjust main configuration + +- Blacklist rndis nic's, we want them handled by systemd's networkd. +- Disable background scan, to avoid significant increase in bandwidth. + +Upstream-Status: Inappropriate [Toradex specific] + +Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> +Signed-off-by: Ming Liu <ming.liu@toradex.com> +--- + src/main.conf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/main.conf b/src/main.conf +index 14965e1..24a17bf 100644 +--- a/src/main.conf ++++ b/src/main.conf +@@ -23,7 +23,7 @@ + # When BackgroundScanning is false, ConnMan will not perform any scan + # regardless of wifi is connected or not, unless it is requested by + # the user through a D-Bus call. +-# BackgroundScanning = true ++BackgroundScanning = false + + # Assume that service gateways also function as timeservers. + # UseGatewaysAsTimeservers = false +@@ -67,7 +67,7 @@ + # not be handled by ConnMan, if their first characters + # match any of the list entries. Default value is + # vmnet,vboxnet,virbr,ifb,ve-,vb-. +-# NetworkInterfaceBlacklist = vmnet,vboxnet,virbr,ifb,ve-,vb- ++NetworkInterfaceBlacklist = vmnet,vboxnet,virbr,ifb,ve-,vb-,usb,rndis + + # Allow ConnMan to change the system hostname. This can + # happen for example if we receive DHCP hostname option. +-- +2.25.1 + |