Skip to content
Snippets Groups Projects
Commit 7b412ab3 authored by Łukasz Majewski's avatar Łukasz Majewski Committed by Marek Vasut
Browse files

usb:g_dnl: Replace static usb_configuration structure with dynamically allocated one


When the usb_configuration structure is declared as static, it is very
hard to assure, that relevant fields (as e.g. config->interfaces[]) are
cleared out before new call to g_dnl related functions.

Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
parent d4278263
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment