summaryrefslogtreecommitdiffstats
path: root/adb/services.c
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-01-09 17:51:25 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-01-09 17:51:25 -0800
commit5ae090ed949cea9d1e7ab1552b455a229f8f9757 (patch)
tree555f686d531f29f4907d80655e7b0a7e69f2a180 /adb/services.c
parent35237d135807af84bf9b0e5b8d7f8633e58db6f5 (diff)
downloadsystem_core-5ae090ed949cea9d1e7ab1552b455a229f8f9757.zip
system_core-5ae090ed949cea9d1e7ab1552b455a229f8f9757.tar.gz
system_core-5ae090ed949cea9d1e7ab1552b455a229f8f9757.tar.bz2
auto import from //branches/cupcake/...@125939
Diffstat (limited to 'adb/services.c')
-rw-r--r--adb/services.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/adb/services.c b/adb/services.c
index 23730d8..e686949 100644
--- a/adb/services.c
+++ b/adb/services.c
@@ -345,10 +345,7 @@ asocket* host_service_to_socket(const char* name, const char *serial)
name += strlen("wait-for-");
- if (!strncmp(name, "bootloader", strlen("bootloader"))) {
- sinfo->transport = kTransportUsb;
- sinfo->state = CS_BOOTLOADER;
- } else if (!strncmp(name, "local", strlen("local"))) {
+ if (!strncmp(name, "local", strlen("local"))) {
sinfo->transport = kTransportLocal;
sinfo->state = CS_DEVICE;
} else if (!strncmp(name, "usb", strlen("usb"))) {