summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2020-03-02 02:15:30 +0100
committercyBerta <cyberta@riseup.net>2020-03-02 02:15:30 +0100
commit92922ef221f510b9def11397079dd06cf7535c46 (patch)
tree9e2e2d29c01b4a5f8a3f2aa0eddfb6fca3fdee5a /app
parentb370e063453edb5caeaf11cdb85d1ca1c1ac15e9 (diff)
use only rndis as valid interface name for usb tethering
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/tethering/TetheringStateManager.java2
1 files changed, 1 insertions, 1 deletions
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() {