From 05c9cd566d7e72662cd221a7b077ee1abef61fe6 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Tue, 19 Mar 2019 16:20:47 +0100 Subject: [PATCH] qualcomm: add enable_p2p parameter to driver initialization Add kernel module parameter to enable/disable the p2p interface. By default p2p interface is disabled. https://jira.digi.com/browse/DEL-6503 Signed-off-by: Arturo Buzarra --- .../kernel-module-qualcomm/kernel-module-qualcomm/qualcomm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-arm/recipes-kernel/kernel-module-qualcomm/kernel-module-qualcomm/qualcomm.sh b/meta-digi-arm/recipes-kernel/kernel-module-qualcomm/kernel-module-qualcomm/qualcomm.sh index 1f9c09012..160c36aeb 100644 --- a/meta-digi-arm/recipes-kernel/kernel-module-qualcomm/kernel-module-qualcomm/qualcomm.sh +++ b/meta-digi-arm/recipes-kernel/kernel-module-qualcomm/kernel-module-qualcomm/qualcomm.sh @@ -103,7 +103,7 @@ esac # and reduce the console log level to avoid debug messages at boot time LOGLEVEL="$(sed -ne 's,^kernel.printk[^=]*=[[:blank:]]*\(.*\)$,\1,g;T;p' /etc/sysctl.conf 2>/dev/null)" [ -n "${LOGLEVEL}" ] && sysctl -q -w kernel.printk="${LOGLEVEL}" -modprobe wlan +modprobe wlan enable_p2p=0 # Verify the interface is present if [ -d "/sys/class/net/wlan0" ]; then