Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09070d9e authored by Mike Lockwood's avatar Mike Lockwood
Browse files

fastboot: Add support for Motorola USB vendor ID.

parent c98c2b89
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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;