uqmi: set data format to 802.3 at startup

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42724
lede-17.01
Felix Fietkau 2014-10-02 12:19:37 +00:00
parent bf4cab37b7
commit f9fb48c6bc
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,8 @@ proto_qmi_setup() {
qmi_disconnect qmi_disconnect
uqmi -s -d "$device" --set-data-format 802.3
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
sleep 5; sleep 5;