chiark / gitweb /
usb_id: fix switch statement for video type
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 26 Nov 2008 12:31:37 +0000 (13:31 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 26 Nov 2008 12:31:37 +0000 (13:31 +0100)
Introducing the video type, creating a fall-through case where other
devices might now be declared as type video.

extras/usb_id/usb_id.c

index 91e3ecce4d38213090eda14225c7518041d1314c..ce1eb0b9fb84426893ea9263db40722accb5d33e 100644 (file)
@@ -70,6 +70,7 @@ static void set_usb_iftype(char *to, int if_class_num, size_t len)
        case 0x0a: /* CDC-Data */
        case 0x0b: /* Chip/Smart Card */
        case 0x0d: /* Content Security */
+               break;
        case 0x0e:
                type = "video";
                break;