aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rwxr-xr-xpackage/network/utils/uqmi/files/lib/netifd/proto/qmi.sh6
1 files changed, 1 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 48864bea4b..6dcc226693 100755
--- a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh
+++ b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh
@@ -31,11 +31,7 @@ proto_qmi_setup() {
ipv4=1
- if [ "$ipv6" = 0 ]; then
- ipv6=""
- else
- ipv6=1
- fi
+ [ "$ipv6" = 1 ] || ipv6=""
[ -n "$ctl_device" ] && device=$ctl_device