}
local leddc=$(wlc ifname "$device" leddc)
- [ "$leddc" -eq 0xffff ] || {
+ [ $((leddc)) -eq $((0xffff)) ] && {
leddc=0x005a000a;
}
local net_cfg="$(find_net_config "$vif")"
[ -z "$net_cfg" ] || {
+ ubus -t 30 wait_for network.interface."$net_cfg"
append if_up "set_wifi_up '$vif' '$ifname'" ";$N"
append if_up "start_net '$ifname' '$net_cfg'" ";$N"
}