chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74463b7
)
usb_id: fix switch statement for video type
author
Marcel Holtmann
<marcel@holtmann.org>
Wed, 26 Nov 2008 12:31:37 +0000
(13:31 +0100)
committer
Kay 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
patch
|
blob
|
history
diff --git
a/extras/usb_id/usb_id.c
b/extras/usb_id/usb_id.c
index 91e3ecce4d38213090eda14225c7518041d1314c..ce1eb0b9fb84426893ea9263db40722accb5d33e 100644
(file)
--- a/
extras/usb_id/usb_id.c
+++ b/
extras/usb_id/usb_id.c
@@
-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;