wpa-supplicant: enable control socket interface for systemd service
https://jira.digi.com/browse/DEL-6483 Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
ea22a0b72c
commit
70c2a73b3f
|
|
@ -0,0 +1,29 @@
|
|||
From: Arturo Buzarra <arturo.buzarra@digi.com>
|
||||
Date: Thu, 7 Mar 2019 09:47:52 +0100
|
||||
Subject: [PATCH] wpa_supplicant: systemd: enable control socket interface for
|
||||
systemd service
|
||||
|
||||
Otherwise the command "wpa_cli" fails with:
|
||||
|
||||
Failed to connect to non-global ctrl_ifname
|
||||
|
||||
https://jira.digi.com/browse/DEL-6483
|
||||
|
||||
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
|
||||
---
|
||||
wpa_supplicant/systemd/wpa_supplicant.service.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/wpa_supplicant/systemd/wpa_supplicant.service.in b/wpa_supplicant/systemd/wpa_supplicant.service.in
|
||||
index bc5d49a..6c38238 100644
|
||||
--- a/wpa_supplicant/systemd/wpa_supplicant.service.in
|
||||
+++ b/wpa_supplicant/systemd/wpa_supplicant.service.in
|
||||
@@ -6,7 +6,7 @@ Wants=network.target
|
||||
[Service]
|
||||
Type=dbus
|
||||
BusName=@DBUS_INTERFACE@
|
||||
-ExecStart=@BINDIR@/wpa_supplicant -u
|
||||
+ExecStart=@BINDIR@/wpa_supplicant -u -O /var/run/wpa_supplicant
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2013-2017 Digi International.
|
||||
# Copyright (C) 2013-2019 Digi International.
|
||||
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
|
||||
|
||||
|
|
@ -6,6 +6,7 @@ PACKAGECONFIG ?= "openssl"
|
|||
|
||||
SRC_URI += " \
|
||||
file://0001-wpa_supplicant-enable-control-socket-interface-when-.patch \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'file://0002-wpa_supplicant-systemd-enable-control-socket-interfa.patch', '', d)} \
|
||||
file://wpa_supplicant_p2p.conf \
|
||||
"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue