aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasashi Honma <masashi.honma@gmail.com>2018-07-18 08:40:33 +0900
committerJohn Crispin <john@phrozen.org>2018-07-27 11:17:20 +0200
commitd05967baecca33774ab95d4ffabbcb4cc9d0a1bf (patch)
tree9e6d3e5c74934a5517ca069bfd3861a577555ee1
parent7dfd72dffff914b8d9cc941c62019004532c566f (diff)
downloadupstream-d05967baecca33774ab95d4ffabbcb4cc9d0a1bf.tar.gz
upstream-d05967baecca33774ab95d4ffabbcb4cc9d0a1bf.tar.bz2
upstream-d05967baecca33774ab95d4ffabbcb4cc9d0a1bf.zip
wwan: Fix teardown for sierra_net driver
The sierra_net driver is using proto_directip_setup for setup. So use proto_directip_teardown for teardown. Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
-rwxr-xr-xpackage/network/utils/wwan/files/wwan.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/wwan/files/wwan.sh b/package/network/utils/wwan/files/wwan.sh
index e0bd4c8727..303fa9e99e 100755
--- a/package/network/utils/wwan/files/wwan.sh
+++ b/package/network/utils/wwan/files/wwan.sh
@@ -110,7 +110,7 @@ proto_wwan_teardown() {
case $driver in
qmi_wwan) proto_qmi_teardown $@ ;;
cdc_mbim) proto_mbim_teardown $@ ;;
- sierra_net) proto_mbim_teardown $@ ;;
+ sierra_net) proto_directip_teardown $@ ;;
comgt) proto_3g_teardown $@ ;;
cdc_ether|*cdc_ncm) proto_ncm_teardown $@ ;;
esac