libusbgx: Initialize gadget attributes and strings while gadget creation.
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Mon, 16 Dec 2013 10:00:26 +0000 (11:00 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 19:33:56 +0000 (20:33 +0100)
commit301666cb3c31fdf267bda5f1390f37ca06ffe069
tree956b148ea1cd748ad1328afc175bd8b3be45e6d9
parent61232520249131763741a2f85e6a3295911b9698
libusbgx: Initialize gadget attributes and strings while gadget creation.

Fix gadget_create_gadget function to initialize gadget attributes
and strings with default values provided by kernel.

Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
[Port from libusbg and update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
src/usbg.c