wifi-scripts: ucode: fix start failed
authorAndy Chiang <AndyChiang_git@outlook.com>
Sun, 26 Oct 2025 00:29:30 +0000 (07:29 +0700)
committerFelix Fietkau <nbd@nbd.name>
Wed, 12 Nov 2025 12:45:50 +0000 (13:45 +0100)
commit00e881451a980a7e65d94e7f91029baa479dd8eb
tree5f0016da45f3d5b55988b2eb31a203d69d6b8d35
parentcc3e2112640041a632abe35a7acec43994a2f14c
wifi-scripts: ucode: fix start failed

When using wpad-openssl/wpad-basic-openssl, wpa_supplicant/hostapd may not be ready because of openssl.
This cause supplicant.setup and hostapd.setup to be failed.
Therefore, wait for wpa_supplicant/hostapd to be ready before supplicant.setup and hostapd.setup.

Run-tested: mediatek/filogic GL-MT3000
fixes: #20361

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/config/wifi-scripts/files-ucode/lib/netifd/wireless/mac80211.sh
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/hostapd.uc
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/supplicant.uc