tv wwan: flush addrs on stop

This commit is contained in:
tv 2023-01-29 12:05:10 +01:00
parent f8b3e682df
commit b9cdcc75a4

View File

@ -166,6 +166,7 @@ with import ./lib;
interface=$(get-interface) interface=$(get-interface)
ip addr flush "$interface"
ip link set dev "$interface" down ip link set dev "$interface" down
uqmi --stop-network 0xFFFFFFFF --autoconnect uqmi --stop-network 0xFFFFFFFF --autoconnect
uqmi --sync uqmi --sync