libusbgx: Fix wrong binding parsing.
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 4 Mar 2014 19:29:50 +0000 (20:29 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 19:35:21 +0000 (20:35 +0100)
commit6b58987082e8588889dd43208bf7bcaca4635ae2
tree65ea55f61dd1998cee00b786d1a917c2bdcb5370
parent570911240de1622939c0f66c1dad8be067ac12c3
libusbgx: Fix wrong binding parsing.

usbg_parse_bindings() function has done parsing incorrectly
and in inefficent way. Changes made in this function provide
better performance and fix wrong linking issue when having
two instances of the same function.

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