mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-23 16:58:33 +03:00
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:
@@ -144,10 +144,6 @@ enum strDescNum {
|
|||||||
|
|
||||||
/** List of string descriptors used by the device */
|
/** List of string descriptors used by the device */
|
||||||
const unsigned char *stringDescriptors[] = {
|
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,
|
langDesc,
|
||||||
productStringDescriptor,
|
productStringDescriptor,
|
||||||
snifferConfigStringDescriptor,
|
snifferConfigStringDescriptor,
|
||||||
@@ -518,8 +514,8 @@ const SIMTraceDriverConfigurationDescriptorMITM configurationDescriptorMITM = {
|
|||||||
3, /* Number of endpoints */
|
3, /* Number of endpoints */
|
||||||
0xff,
|
0xff,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0, /* FIXME: string descriptor for this interface */
|
PHONE_CONF_STR, /* string descriptor for this interface */
|
||||||
},
|
},
|
||||||
/* Bulk-OUT endpoint standard descriptor */
|
/* Bulk-OUT endpoint standard descriptor */
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user