From 92922ef221f510b9def11397079dd06cf7535c46 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Mon, 2 Mar 2020 02:15:30 +0100 Subject: use only rndis as valid interface name for usb tethering --- .../java/se/leap/bitmaskclient/tethering/TetheringStateManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/se/leap/bitmaskclient/tethering/TetheringStateManager.java b/app/src/main/java/se/leap/bitmaskclient/tethering/TetheringStateManager.java index d3c934f6..dac31e53 100644 --- a/app/src/main/java/se/leap/bitmaskclient/tethering/TetheringStateManager.java +++ b/app/src/main/java/se/leap/bitmaskclient/tethering/TetheringStateManager.java @@ -111,7 +111,7 @@ public class TetheringStateManager { } private static NetworkInterface getUsbInterface() { - return getNetworkInterface(new String[]{"rndis", "usb"}); + return getNetworkInterface(new String[]{"rndis"}); } private static boolean isBluetoothTetheringEnabled() { -- cgit v1.2.3