uqmi: Prevent 'POLICY MISMATH' error.
[openwrt/openwrt.git] / package / network / utils / uqmi / files / lib / netifd / proto / qmi.sh
index cab9cb91211f0f92ab31d292a90d62e163cd2c65..1f260ae3c2ce368caefcb0225cf1d70f0972f485 100755 (executable)
@@ -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