Fix swapped manufacturer/product strings

the */usb_strings.txt files always assumed that the first line is the
manufacturer string, followed by the product string in the second line.

However, the enum strDescNum had it the other way around. Let's fix it
by adjusting the enum to reality.

Fixes: SYS#3591
This commit is contained in:
Harald Welte 2017-05-14 23:13:52 +02:00
parent a601635885
commit 3b646955b9
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@
*------------------------------------------------------------------------------*/
#include "usb_strings_generated.h"
enum strDescNum {
PRODUCT_STRING = 1,
MANUF_STR,
MANUF_STR = 1,
PRODUCT_STRING,
SNIFFER_CONF_STR,
CCID_CONF_STR,
PHONE_CONF_STR,