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.
This commit is contained in:
Christina Quast
2015-05-08 16:00:51 +02:00
parent 2c68f9c825
commit bfd7354c86

View File

@@ -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 */
{