diff --git a/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh b/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh index 01e8628d746..dc3a7155229 100755 --- a/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh +++ b/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh @@ -73,7 +73,7 @@ _proto_mbim_setup() { } devname="$(basename "$device")" - devpath="$(readlink -f /sys/class/usbmisc/$devname/device/)" + devpath="$(readlink -f /sys/class/usbmisc/$devname/device/ || readlink -f /sys/class/wwan/$devname/device/)" ifname="$( ls "$devpath"/net )" [ -n "$ifname" ] || {