Browse Source

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: Nickolay Ledovskikh <[email protected]>
Nickolay Ledovskikh 9 years ago
parent
commit
600d648a0d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh

+ 1 - 0
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh

@@ -78,6 +78,7 @@ proto_qmi_setup() {
 
 
 	uqmi -s -d "$device" --set-data-format 802.3
 	uqmi -s -d "$device" --set-data-format 802.3
 	uqmi -s -d "$device" --wda-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"
 	echo "Waiting for network registration"
 	while uqmi -s -d "$device" --get-serving-system | grep '"searching"' > /dev/null; do
 	while uqmi -s -d "$device" --get-serving-system | grep '"searching"' > /dev/null; do