32 lines
1018 B
Diff
32 lines
1018 B
Diff
From: Arturo Buzarra <arturo.buzarra@digi.com>
|
|
Date: Thu, 2 Apr 2020 16:26:48 +0200
|
|
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
|
|
|
|
Upstream-Status: Inappropriate [DEY specific]
|
|
|
|
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 58a622887cd9..cdc547f2ac5b 100644
|
|
--- a/wpa_supplicant/systemd/wpa_supplicant.service.in
|
|
+++ b/wpa_supplicant/systemd/wpa_supplicant.service.in
|
|
@@ -7,7 +7,7 @@ Wants=network.target
|
|
[Service]
|
|
Type=dbus
|
|
BusName=fi.w1.wpa_supplicant1
|
|
-ExecStart=@BINDIR@/wpa_supplicant -u
|
|
+ExecStart=@BINDIR@/wpa_supplicant -u -O /var/run/wpa_supplicant
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|