mac80211: rework interface setup, fix race condition
authorFelix Fietkau <nbd@nbd.name>
Tue, 14 Nov 2023 12:00:27 +0000 (13:00 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 11 Jan 2024 09:40:43 +0000 (10:40 +0100)
commitb7f9742da82fa9b122e8d63e48a9a5c0dec298f2
treecad2c9b2e6a896ba2eca46fd4e93c8d2c126f816
parentd5a1de17ade34abfa276b074e82f40a6a7b908de
mac80211: rework interface setup, fix race condition

Only tell netifd about vifs when the setup is complete and hostapd +
wpa_supplicant have been notified

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
package/network/services/hostapd/files/hostapd.sh