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 <arturo.buzarra@digi.com>
This commit is contained in:
parent
626d594952
commit
05c9cd566d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue