Skip to content
Snippets Groups Projects
Commit 600d648a authored by Nickolay Ledovskikh's avatar Nickolay Ledovskikh Committed by John Crispin
Browse files

uqmi: Prevent 'POLICY MISMATH' error.


Add uqmi 'sync' command call to release stalled cid when preparing to
setup new connection. As a result it prevents 'POLICY MISMATCH' errors.

Signed-off-by: default avatarNickolay Ledovskikh <nledovskikh@gmail.com>
parent 4146047e
No related branches found
No related tags found
No related merge requests found
......@@ -78,6 +78,7 @@ proto_qmi_setup() {
uqmi -s -d "$device" --set-data-format 802.3
uqmi -s -d "$device" --wda-set-data-format 802.3
uqmi -s -d "$device" --sync
echo "Waiting for network registration"
while uqmi -s -d "$device" --get-serving-system | grep '"searching"' > /dev/null; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment