summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:07 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:07 -0800
commit13f797da7f190e9ea52f2f3d235210b8a4963b21 (patch)
treec821e95502ab1ab9096a11e7488e224e319a46b4 /adb
parentdcf3ce247e13fe0a982ed2ada35cdee1f0ac626a (diff)
downloadsystem_core-13f797da7f190e9ea52f2f3d235210b8a4963b21.zip
system_core-13f797da7f190e9ea52f2f3d235210b8a4963b21.tar.gz
system_core-13f797da7f190e9ea52f2f3d235210b8a4963b21.tar.bz2
auto import from //branches/cupcake/...@130745
Diffstat (limited to 'adb')
-rw-r--r--adb/usb_linux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/adb/usb_linux.c b/adb/usb_linux.c
index 3feee07..32ce0a9 100644
--- a/adb/usb_linux.c
+++ b/adb/usb_linux.c
@@ -292,7 +292,8 @@ static int find_usb_device(const char *base,
}
}
- register_device_callback(devname, local_ep_in, local_ep_out, i, serial, zero_mask);
+ register_device_callback(devname, local_ep_in, local_ep_out,
+ interface->bInterfaceNumber, serial, zero_mask);
found_device = 1;
break;