I don’t think it should be this complicated.
Maybe just check /etc/config/network to find out if the modem interface as “option disabled 1” and remove it.