mac80211: don't kill wireless daemon on teardown
authorDavid Bauer <mail@david-bauer.net>
Fri, 31 Jul 2020 17:52:03 +0000 (19:52 +0200)
committerDavid Bauer <mail@david-bauer.net>
Fri, 31 Jul 2020 17:52:03 +0000 (19:52 +0200)
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@david-bauer.net>
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh

index 864b15e120120859e6af2ec5d984ab18ccff5278..823c68170a3e68aa2031e01ffc64f88965f57c4d 100644 (file)
@@ -1048,8 +1048,6 @@ list_phy_interfaces() {
 }
 
 drv_mac80211_teardown() {
-       wireless_process_kill_all
-
        json_select data
        json_get_vars phy
        json_select ..