diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh index 707fd8c4b8a..a6f5dba9925 100644 --- a/package/hostapd/files/hostapd.sh +++ b/package/hostapd/files/hostapd.sh @@ -96,6 +96,6 @@ wpa=$wpa wpa_pairwise=$crypto $hostapd_cfg EOF - hostapd -P /var/run/wifi-$ifname.conf -B /var/run/hostapd-$ifname.conf + hostapd -P /var/run/wifi-$ifname.pid -B /var/run/hostapd-$ifname.conf }