summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-10-02 12:19:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-10-02 12:19:37 +0000
commitf9fb48c6bced55a3a9f27476139a2a2bcdcf9604 (patch)
treef259e95652d5c7e6f937fced0c0d0bd0f8180a21 /package
parentbf4cab37b77441ebd3b5b42d5f3bac9b22706f23 (diff)
downloadmtk-20170518-f9fb48c6bced55a3a9f27476139a2a2bcdcf9604.zip
mtk-20170518-f9fb48c6bced55a3a9f27476139a2a2bcdcf9604.tar.gz
mtk-20170518-f9fb48c6bced55a3a9f27476139a2a2bcdcf9604.tar.bz2
uqmi: set data format to 802.3 at startup
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42724
Diffstat (limited to 'package')
-rwxr-xr-xpackage/network/utils/uqmi/files/lib/netifd/proto/qmi.sh2
1 files changed, 2 insertions, 0 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 deba489..ec33baa 100755
--- a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh
+++ b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh
@@ -85,6 +85,8 @@ proto_qmi_setup() {
qmi_disconnect
+ uqmi -s -d "$device" --set-data-format 802.3
+
echo "Waiting for network registration"
while uqmi -s -d "$device" --get-serving-system | grep '"searching"' > /dev/null; do
sleep 5;