From 1ece5f4764b64150290dbadc496df9e73cefce8d Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Tue, 28 Dec 2021 15:49:47 +0100 Subject: 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 --- recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend 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 +} -- cgit v1.2.3