diff options
-rwxr-xr-x | meta-google/recipes-google/networking/google-usb-network/usb_network.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-google/recipes-google/networking/google-usb-network/usb_network.sh b/meta-google/recipes-google/networking/google-usb-network/usb_network.sh index 3c38fb4b0b..a135465f22 100755 --- a/meta-google/recipes-google/networking/google-usb-network/usb_network.sh +++ b/meta-google/recipes-google/networking/google-usb-network/usb_network.sh @@ -89,6 +89,8 @@ EOF ln -s "${func_dir}" "${config_dir}" echo "${BIND_DEVICE}" > ${gadget_dir}/UDC + ip link set dev "$(<"${func_dir}"/ifname)" down + ip link set dev "$(<"${func_dir}"/ifname)" name "${IFACE_NAME}" } gadget_stop() { |