aboutsummaryrefslogtreecommitdiffstats
path: root/package/wpa_supplicant/files/wpa_supplicant.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/wpa_supplicant/files/wpa_supplicant.sh')
-rw-r--r--package/wpa_supplicant/files/wpa_supplicant.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/wpa_supplicant/files/wpa_supplicant.sh b/package/wpa_supplicant/files/wpa_supplicant.sh
index 37ebef7a4b..debdf811a5 100644
--- a/package/wpa_supplicant/files/wpa_supplicant.sh
+++ b/package/wpa_supplicant/files/wpa_supplicant.sh
@@ -75,5 +75,5 @@ network={
$password
}
EOF
- [ -z "$proto" ] || wpa_supplicant ${bridge:+ -b $bridge} -B -D ${driver:-wext} -i "$ifname" -c /var/run/wpa_supplicant-$ifname.conf
+ [ -z "$proto" ] || wpa_supplicant ${bridge:+ -b $bridge} -B -P "/var/run/wifi-${ifname}.pid" -D ${driver:-wext} -i "$ifname" -c /var/run/wpa_supplicant-$ifname.conf
}