summaryrefslogtreecommitdiffstats
path: root/src/connections/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'src/connections/wireless')
-rw-r--r--src/connections/wireless2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connections/wireless b/src/connections/wireless
index 143276b..0389ea6 100644
--- a/src/connections/wireless
+++ b/src/connections/wireless
@@ -8,6 +8,7 @@ wireless_up() {
load_profile "$PROFILE"
# Default settings
+ WPA_CTRL_PATH=/run/wpa_supplicant
SECURITY=${SECURITY:-none}
WPA_DRIVER=${WPA_DRIVER:-nl80211,wext}
@@ -21,7 +22,6 @@ wireless_up() {
stop_wpa "$INTERFACE"
# Start wpa_supplicant
- WPA_CTRL_PATH=/run/wpa_supplicant
if [[ "$SECURITY" = "wpa-config" ]]; then
WPA_CONF="${WPA_CONF:-/etc/wpa_supplicant.conf}"
# Use defined control path (FS#24949)