summaryrefslogtreecommitdiffstats
path: root/fastboot
diff options
context:
space:
mode:
authorsndnvaps <sndnvaps@gmail.com>2016-04-21 19:44:20 +0800
committersndnvaps <sndnvaps@gmail.com>2016-04-21 21:57:35 +0800
commit408bb87b6951267a96a25830da7a7621266858dd (patch)
tree45d4026fa1e84cd7181e157aa288e55b91c74b08 /fastboot
parentcba3c2b3be06c7844e3a1c7463d514a1cde726f4 (diff)
downloadsystem_core-408bb87b6951267a96a25830da7a7621266858dd.zip
system_core-408bb87b6951267a96a25830da7a7621266858dd.tar.gz
system_core-408bb87b6951267a96a25830da7a7621266858dd.tar.bz2
fastboot: add ZTE to the list of known vendors
Change-Id: I741d0e4068d948fb7b4036d7f02e68b896863795 Signed-off-by: sndnvaps <sndnvaps@gmail.com>
Diffstat (limited to 'fastboot')
-rw-r--r--fastboot/fastboot.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp
index 5112c15..a3fa115 100644
--- a/fastboot/fastboot.cpp
+++ b/fastboot/fastboot.cpp
@@ -207,7 +207,8 @@ int match_fastboot_with_serial(usb_ifc_info *info, const char *local_serial)
(info->dev_vendor != 0x0421) && // Nokia
(info->dev_vendor != 0x1ebf) && // Coolpad
(info->dev_vendor != 0x2b4c) && // Zuk
- (info->dev_vendor != 0x2a96)) // MMX
+ (info->dev_vendor != 0x2a96) && // MMX
+ (info->dev_vendor != 0x19d2)) // ZTE
return -1;
if(info->ifc_class != 0xff) return -1;
if(info->ifc_subclass != 0x42) return -1;