diff options
author | Lech Perczak <lech.perczak@gmail.com> | 2022-03-15 19:29:59 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-04-02 18:54:39 +0200 |
commit | 8c445d56f12ffae8620fa99a3cf4a0ad82544efd (patch) | |
tree | a1238570bc68e44f486bf79e4caef7a55fd99ad6 /package/network/utils/uqmi | |
parent | d1bd18e0801983f609492e0b85beae9ae617e49a (diff) | |
download | upstream-8c445d56f12ffae8620fa99a3cf4a0ad82544efd.tar.gz upstream-8c445d56f12ffae8620fa99a3cf4a0ad82544efd.tar.bz2 upstream-8c445d56f12ffae8620fa99a3cf4a0ad82544efd.zip |
uqmi: set IPv6 family explicitly in status check
Some modems require CID to be set explicitly during IPv6 connection
status check, others require IPv6 address family to be checked explicitly
after establishing connection, in order to provide correct status.
Set both fields in the request to satisfy them.
Fixes: c8a88118af46 ("uqmi: set CID during 'query-data-status' operation")
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Diffstat (limited to 'package/network/utils/uqmi')
-rwxr-xr-x | package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh index c2c5fc1eca..5045ce04af 100755 --- a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh +++ b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh @@ -326,7 +326,7 @@ proto_qmi_setup() { fi # Check data connection state - connstat=$(uqmi -s -d "$device" --set-client-id wds,"$cid_6" --get-data-status) + connstat=$(uqmi -s -d "$device" --set-client-id wds,"$cid_6" --set-ip-family ipv6 --get-data-status) [ "$connstat" == '"connected"' ] || { echo "No data link!" uqmi -s -d "$device" --set-client-id wds,"$cid_6" --release-client-id wds > /dev/null 2>&1 |