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 <javier.viguera@digi.com>
This commit is contained in:
parent
bc5c64571a
commit
a4d931bf84
|
|
@ -103,7 +103,7 @@ esac
|
||||||
# and reduce the console log level to avoid debug messages at boot time
|
# 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)"
|
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}"
|
[ -n "${LOGLEVEL}" ] && sysctl -q -w kernel.printk="${LOGLEVEL}"
|
||||||
modprobe wlan enable_p2p=0
|
modprobe wlan
|
||||||
|
|
||||||
# Verify the interface is present
|
# Verify the interface is present
|
||||||
[ -d "/sys/class/net/wlan0" ] || log "3" "[ERROR] Loading qca6564 module"
|
[ -d "/sys/class/net/wlan0" ] || log "3" "[ERROR] Loading qca6564 module"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue