uqmi: skip registration state check if not supported
authorTil Kaiser <[email protected]>
Tue, 25 Nov 2025 10:43:22 +0000 (11:43 +0100)
committerHauke Mehrtens <[email protected]>
Sun, 30 Nov 2025 22:49:57 +0000 (23:49 +0100)
commit7ff854a197c765bd6922a93c3eada627e2dff987
tree2bf833ac687511af8d6f3d1e60ed1de7b95eb601
parent902b25abf38c542cf305e244322bc07edd2ce69c
uqmi: skip registration state check if not supported

The Quectel RG255C modem used in the Teltonika RUT976 does not support
the 'Get Serving System' QMI command, returning "Invalid QMI command".
Without this change, the script would fail even though the connection
could be established successfully.

This patch skips the registration state check if the command is not
supported and relies on subsequent checks instead.

Signed-off-by: Til Kaiser <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20933
Signed-off-by: Hauke Mehrtens <[email protected]>
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh