From: Masashi Honma Date: Tue, 17 Jul 2018 23:40:33 +0000 (+0900) Subject: wwan: Fix teardown for sierra_net driver X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=25cb85abe7f38efeef31b9b9bda094dc1c3862c5;p=librecmc%2Flibrecmc.git 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 (cherry picked from commit d05967baecca33774ab95d4ffabbcb4cc9d0a1bf) --- 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