From bfd7354c860af03d1bc5ff0e53399e68aca01ef5 Mon Sep 17 00:00:00 2001 From: Christina Quast Date: Fri, 8 May 2015 16:00:51 +0200 Subject: 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. --- firmware/src_simtrace/usb.c | 8 ++------ 1 file 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 */ { -- cgit v1.2.3