aboutsummaryrefslogtreecommitdiffstats
path: root/cpio
diff options
context:
space:
mode:
authorScott Anderson <saa@android.com>2012-05-31 12:04:23 -0700
committerScott Anderson <saa@android.com>2012-05-31 14:06:07 -0700
commit3608d832425ca3a6d00c4040f3bb979c5aa49899 (patch)
tree9668977bd7fa814458b56218ca37091f7bacd945 /cpio
parentc7993af64baec271a238646bc20aaa846866c4a9 (diff)
downloadsystem_core-3608d832425ca3a6d00c4040f3bb979c5aa49899.tar.gz
system_core-3608d832425ca3a6d00c4040f3bb979c5aa49899.tar.bz2
system_core-3608d832425ca3a6d00c4040f3bb979c5aa49899.zip
adb: Fix two problems with device path implementation.
The commands that use "host-serial:<serial-number>:<request>" service did not handle "-s usb:<path>". The -s parameter is passed as the serial number in the protocol and then matched against either the serial number or device path. However, skip_host_serial() in sockets.c did not know about the usb: syntax, the serial number was parsed incorrectly. Before this change: $ adb -s usb:1-4.1 get-state error: unknown host service After: $ adb -s usb:1-4.1 get-state device Code was added in find_transport() in transport.c to match device paths, but find_transport() is only used for socket connections so matching device paths is not needed. Change-Id: I922cec963659dafadd0fbc8fa36dee3b55fe366c Signed-off-by: Scott Anderson <saa@android.com>
Diffstat (limited to 'cpio')
0 files changed, 0 insertions, 0 deletions