diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-12-28 15:01:00 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-12-31 14:26:00 +0100 |
commit | e1851720f10a7706a3654b64585b622de6adcf3d (patch) | |
tree | a4742edd0f1a0cf4431d5c60411bc5b835086298 /package/kernel | |
parent | a7ff013eb6669d787d0fded9ef2faa4cdd8d3bf1 (diff) | |
download | openwrt-e1851720f10a7706a3654b64585b622de6adcf3d.tar.gz openwrt-e1851720f10a7706a3654b64585b622de6adcf3d.tar.bz2 openwrt-e1851720f10a7706a3654b64585b622de6adcf3d.zip |
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 <nbd@nbd.name>
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh index e12a804271..95b6c817ff 100644 --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -1021,7 +1021,7 @@ drv_mac80211_setup() { ubus wait_for hostapd ubus call hostapd config_add "{\"iface\":\"$primary_ap\", \"config\":\"${hostapd_conf_file}\"}" local hostapd_pid=$(ubus call service list '{"name": "wpad"}' | jsonfilter -l 1 -e "@['wpad'].instances['hostapd'].pid") - wireless_add_process "$hostapd_pid" "/usr/sbin/hostapd" 1 + wireless_add_process "$hostapd_pid" "/usr/sbin/hostapd" 1 1 fi ret="$?" [ "$ret" != 0 ] && { |