Skip to contentSkip to conversation

Fix switch statement for video type

PATCH In review Marcel Holtmann 2 participants 2 messages Nov 26, 2008

lore
Share & tools
lore
#0 lore raw

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
index 91e3ecc..ce1eb0b 100644
@@ -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;
#1 lore raw

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