aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/uqmi
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
commitfed0932d4d41990bbb14d044b4ee9ed4ca50e070 (patch)
tree84d48f7987d31b9a2debae9646e1b928d1bdd1ed /package/network/utils/uqmi
parent6419c9a961b081ce186d9a65f5a96b79fbd9a123 (diff)
downloadmaster-187ad058-fed0932d4d41990bbb14d044b4ee9ed4ca50e070.tar.gz
master-187ad058-fed0932d4d41990bbb14d044b4ee9ed4ca50e070.tar.bz2
master-187ad058-fed0932d4d41990bbb14d044b4ee9ed4ca50e070.zip
uqmi: set data format to 802.3 at startup
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42724 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/uqmi')
-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 deba489897..ec33baacb0 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;