[openwrt/openwrt] mac80211: don't kill wireless daemon on teardown

LEDE Commits lede-commits at lists.infradead.org
Fri Jul 31 13:53:15 EDT 2020


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/68bf5a96595a8a0983842c8ff0eaa8af290adc51

commit 68bf5a96595a8a0983842c8ff0eaa8af290adc51
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Fri Jul 31 19:52:03 2020 +0200

    mac80211: don't kill wireless daemon on teardown
    
    Don't kill the wireless daemon on teardown. hostapd as well as
    wpa_supplicant are managed by procd which would detect the shutdown of
    either process as a crash loop.
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 2 --
 1 file changed, 2 deletions(-)

diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 864b15e120..823c68170a 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -1048,8 +1048,6 @@ list_phy_interfaces() {
 }
 
 drv_mac80211_teardown() {
-	wireless_process_kill_all
-
 	json_select data
 	json_get_vars phy
 	json_select ..



More information about the lede-commits mailing list