diff options
author | Mike Lockwood <lockwood@android.com> | 2009-08-05 17:04:36 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2009-08-05 17:04:36 -0400 |
commit | 09070d9e8685645f4ca8ecca62ae489472aed646 (patch) | |
tree | 7020a7b5165325b50ac5bb3d9d844fe63e2329a2 /fastboot | |
parent | c98c2b89706aeadb170472c3af9b381c58346d92 (diff) | |
download | system_core-09070d9e8685645f4ca8ecca62ae489472aed646.zip system_core-09070d9e8685645f4ca8ecca62ae489472aed646.tar.gz system_core-09070d9e8685645f4ca8ecca62ae489472aed646.tar.bz2 |
fastboot: Add support for Motorola USB vendor ID.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'fastboot')
-rw-r--r-- | fastboot/fastboot.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fastboot/fastboot.c b/fastboot/fastboot.c index 850e10b..c81222a 100644 --- a/fastboot/fastboot.c +++ b/fastboot/fastboot.c @@ -147,9 +147,11 @@ oops: int match_fastboot(usb_ifc_info *info) { if(!(vendor_id && (info->dev_vendor == vendor_id)) && - (info->dev_vendor != 0x18d1) && + (info->dev_vendor != 0x18d1) && // Google (info->dev_vendor != 0x0451) && - (info->dev_vendor != 0x0bb4)) return -1; + (info->dev_vendor != 0x22b8) && // Motorola + (info->dev_vendor != 0x0bb4)) // HTC + return -1; if(info->ifc_class != 0xff) return -1; if(info->ifc_subclass != 0x42) return -1; if(info->ifc_protocol != 0x03) return -1; |