diff options
author | John Crispin <john@openwrt.org> | 2014-10-08 08:00:45 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-10-08 08:00:45 +0000 |
commit | bb64826bdb9f76301f6df6de06a0f8c63a9834f7 (patch) | |
tree | a6c50631d10f2599b552f18525a0f8a44666fe5c /package/network/utils/uqmi | |
parent | e53734ddefb80c07f2396a7f3ca0d05a36dc244a (diff) | |
download | upstream-bb64826bdb9f76301f6df6de06a0f8c63a9834f7.tar.gz upstream-bb64826bdb9f76301f6df6de06a0f8c63a9834f7.tar.bz2 upstream-bb64826bdb9f76301f6df6de06a0f8c63a9834f7.zip |
uqmi: dont use proto_block_restart
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42835
Diffstat (limited to 'package/network/utils/uqmi')
-rwxr-xr-x | package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh | 8 |
1 files changed, 3 insertions, 5 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 ec33baacb0..a611878fb6 100755 --- a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh +++ b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh @@ -41,13 +41,13 @@ proto_qmi_setup() { [ -n "$device" ] || { echo "No control device specified" proto_notify_error "$interface" NO_DEVICE - proto_block_restart "$interface" + proto_set_available "$interface" 0 return 1 } [ -c "$device" ] || { echo "The specified control device does not exist" proto_notify_error "$interface" NO_DEVICE - proto_block_restart "$interface" + proto_set_available "$interface" 0 return 1 } @@ -57,7 +57,7 @@ proto_qmi_setup() { [ -n "$ifname" ] || { echo "The interface could not be found." proto_notify_error "$interface" NO_IFACE - proto_block_restart "$interface" + proto_set_available "$interface" 0 return 1 } @@ -79,7 +79,6 @@ proto_qmi_setup() { [ -n "$apn" ] || { echo "No APN specified" proto_notify_error "$interface" NO_APN - proto_block_restart "$interface" return 1 } @@ -99,7 +98,6 @@ proto_qmi_setup() { [ $? -ne 0 ] && { echo "Unable to obtain client ID" proto_notify_error "$interface" NO_CID - proto_block_restart "$interface" return 1 } |