Fixing disabled radio on reboot?

I posted the issue details in a different thread but I'm wondering if this could be related to firmware drivers.

Briefly, I need a travel router to use in coffee shops or hotels and I decided to build a travel router with a Raspberry Pi 4B and ComFast CF-953AX WiFi adapter. Everything is functional, until I reboot the Pi. At that time the USB adapter is disabled, the only fix is to disable it and enable it again.

I created a comfast service to temporarily fix the issue but is more of a hack, if I change the USB port, a new radio configuration is created and things break again. All configuration details are properly explained into a GitHub discussion.

Thank you for your help.

I "fix" it with following method.

Find the usb id by using commad

root@OpenWrt:~# lsusb
Bus 002 Device 002: ID 0e8d:7961 MediaTek Inc. Wireless_Device
Bus 002 Device 001: ID 1d6b:0003 Linux 5.10.176 xhci-hcd xHCI Host Controller
Bus 001 Device 002: ID 2109:3431  USB2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux 5.10.176 xhci-hcd xHCI Host Controller

Then add following commands to /etc/rc.local, before "exit 0"

/usr/bin/usbreset 0e8d:7961
sleep 5
/sbin/wifi up radio1
echo "Done" >> /root/log.txt