29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
From: Javier Viguera <javier.viguera@digi.com>
|
|
Date: Tue, 16 May 2017 18:30:31 +0200
|
|
Subject: [PATCH] wpa_supplicant: enable control socket interface when executed
|
|
by D-Bus
|
|
|
|
Otherwise trying to use the "wpa_cli" fails with:
|
|
|
|
Failed to connect to non-global ctrl_ifname
|
|
|
|
Upstream-Status: Inappropriate [DEY specific]
|
|
|
|
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
|
|
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
|
|
---
|
|
wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service.in b/wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service.in
|
|
index d97ff392175d..98b72cf32481 100644
|
|
--- a/wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service.in
|
|
+++ b/wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service.in
|
|
@@ -1,5 +1,5 @@
|
|
[D-BUS Service]
|
|
Name=fi.w1.wpa_supplicant1
|
|
-Exec=@BINDIR@/wpa_supplicant -u
|
|
+Exec=@BINDIR@/wpa_supplicant -u -O /var/run/wpa_supplicant
|
|
User=root
|
|
SystemdService=wpa_supplicant.service
|