From a4d931bf847e93dabe52ad7d838e277c11e26656 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Tue, 7 May 2019 18:29:43 +0200 Subject: [PATCH] qualcomm: remove hardcoded enable_p2p=0 parameter P2P disabled is the default in the kernel module, so passing here the parameter to 'modprobe' does nothing but prevents to set the parameter in the kernel command line. Signed-off-by: Javier Viguera --- .../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 c02aa5f17..21a0aaac0 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 enable_p2p=0 +modprobe wlan # Verify the interface is present [ -d "/sys/class/net/wlan0" ] || log "3" "[ERROR] Loading qca6564 module"