g_dnl: Properly terminate string list.
Well, not terminating the list causes very interesting crashes. As in changing the vendor & product ID crashes. Fun. Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
This commit is contained in:
parent
5a413cae6a
commit
598cf6062e
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ static struct usb_device_descriptor device_desc = {
|
|||
static struct usb_string g_dnl_string_defs[] = {
|
||||
{ 0, manufacturer, },
|
||||
{ 1, product, },
|
||||
{ } /* end of list */
|
||||
};
|
||||
|
||||
static struct usb_gadget_strings g_dnl_string_tab = {
|
||||
|
|
Loading…
Reference in a new issue