aboutsummaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorChristina Quast <chrysh.ng+git@gmail.com>2015-05-08 16:00:51 +0200
committerChristina Quast <chrysh.ng+git@gmail.com>2015-05-08 16:00:51 +0200
commitbfd7354c860af03d1bc5ff0e53399e68aca01ef5 (patch)
treea168a64014c581d6563854dfe22341f4aa566a36 /firmware
parent2c68f9c8252fe46ffaf0822932ac28c5395e7020 (diff)
usb.c: removed comment, named phone interface of MITM conf
String descriptor #0 always is the language descriptor. The second USB interface is in the MITM configuration is the interface to the phone.
Diffstat (limited to 'firmware')
-rw-r--r--firmware/src_simtrace/usb.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/firmware/src_simtrace/usb.c b/firmware/src_simtrace/usb.c
index ffc44e0..cd39917 100644
--- a/firmware/src_simtrace/usb.c
+++ b/firmware/src_simtrace/usb.c
@@ -144,10 +144,6 @@ enum strDescNum {
/** List of string descriptors used by the device */
const unsigned char *stringDescriptors[] = {
-/* FIXME: Is it true that I can't use the string desc #0,
- * because 0 also stands for "no string desc"?
- * on the other hand, dmesg output:
- * "string descriptor 0 malformed (err = -61), defaulting to 0x0409" */
langDesc,
productStringDescriptor,
snifferConfigStringDescriptor,
@@ -518,8 +514,8 @@ const SIMTraceDriverConfigurationDescriptorMITM configurationDescriptorMITM = {
3, /* Number of endpoints */
0xff,
0,
- 0,
- 0, /* FIXME: string descriptor for this interface */
+ 0,
+ PHONE_CONF_STR, /* string descriptor for this interface */
},
/* Bulk-OUT endpoint standard descriptor */
{