Fix switch statement for video type
PATCH 1/1 Fix switch statement for video type
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 +0 -0
@@ -70,6 +70,7 @@ static void set_usb_iftype(char *to, int if_class_num,
size_t
case 0x0a: /* CDC-Data */
case 0x0b: /* Chip/Smart Card */
case 0x0d: /* Content Security */
+ break;
case 0x0e:
type = "video";
break;extras/usb_id/usb_id.c
Quoted 4 lines · Marcel Holtmann
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 +0
-0
Ah, nice! Applied.
Thanks,
Kay