summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMing Liu <ming.liu@toradex.com>2021-12-28 15:49:47 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2022-02-18 14:53:00 +0100
commit1ece5f4764b64150290dbadc496df9e73cefce8d (patch)
tree02a50c6af383443ecffdf37a61398783aa16d8e4
parente8b4e32dfca815ca3a7694b956ed3726a20c1590 (diff)
wpa-supplicant: disable background scan
Disable background scan in config to avoid a significant increase in bandwidth. Related-to: ELB-4148 Signed-off-by: Ming Liu <ming.liu@toradex.com>
-rw-r--r--recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend b/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend
new file mode 100644
index 0000000..2dca5f2
--- /dev/null
+++ b/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend
@@ -0,0 +1,4 @@
+do_install:append () {
+ # Disable background scan to avoid significant increase in bandwidth
+ sed -i '/update_config/abgscan=""' ${D}${sysconfdir}/wpa_supplicant.conf
+}