From e1851720f10a7706a3654b64585b622de6adcf3d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 28 Dec 2020 15:01:00 +0100 Subject: hostapd: do not restart hostapd instance on wireless restarts Add the flag that prevents netifd from killing hostapd/wpa_supplicant Signed-off-by: Felix Fietkau --- package/network/services/hostapd/files/hostapd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/network/services') diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 78f6a19612..fc78e2fb90 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -1379,7 +1379,7 @@ wpa_supplicant_run() { [ "$ret" != 0 ] && wireless_setup_vif_failed WPA_SUPPLICANT_FAILED local supplicant_pid=$(ubus call service list '{"name": "wpad"}' | jsonfilter -l 1 -e "@['wpad'].instances['supplicant'].pid") - wireless_add_process "$supplicant_pid" "/usr/sbin/wpa_supplicant" 1 + wireless_add_process "$supplicant_pid" "/usr/sbin/wpa_supplicant" 1 1 return $ret } -- cgit v1.2.3