hostapd: fix no_reload logic
authorJohn Crispin <john@phrozen.org>
Fri, 27 Mar 2020 11:40:23 +0000 (12:40 +0100)
committerJohn Crispin <john@phrozen.org>
Fri, 27 Mar 2020 15:18:57 +0000 (16:18 +0100)
commit22d896eb218765f362587df6008f67018435d6a5
treed194314e98eb7735b171e2b16e896a09c86c372b
parent038318f766a7bd123c4fb413e9a2947445f441d4
hostapd: fix no_reload logic

the code would unconditionally tear down all interfaces upon a reconf.
This should only be done when the reconf call fails.

Signed-off-by: John Crispin <john@phrozen.org>
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh