summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Szewczyk <p.szewczyk@samsung.com>2015-04-28 10:51:51 +0200
committerKrzysztof Opasiak <k.opasiak@samsung.com>2015-04-28 20:12:06 +0200
commit223e3b4becf1bf118a370a5360efa0f25ed3532c (patch)
treecee731b490a91a558dfe8dd29a8282d7059a0f17
parent93631e618436989ebd7e9df2c997c175feb14bda (diff)
downloadlibusbg-223e3b4becf1bf118a370a5360efa0f25ed3532c.tar.gz
libusbg-223e3b4becf1bf118a370a5360efa0f25ed3532c.tar.bz2
libusbg-223e3b4becf1bf118a370a5360efa0f25ed3532c.zip
libusbg: Fix mapping function type into attributes type
Type of ffs function's attribute is not PHONET, but FFS. Signed-off-by: Pawel Szewczyk <p.szewczyk@samsung.com> Reviewed-by: Krzysztof Opasiak <k.opasiak@samsung.com>
-rw-r--r--src/usbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usbg.c b/src/usbg.c
index 6239c60..05cc0bf 100644
--- a/src/usbg.c
+++ b/src/usbg.c
@@ -247,7 +247,7 @@ int usbg_lookup_function_attrs_type(int f_type)
ret = USBG_F_ATTRS_PHONET;
break;
case F_FFS:
- ret = USBG_F_ATTRS_PHONET;
+ ret = USBG_F_ATTRS_FFS;
break;
case F_MASS_STORAGE:
ret = USBG_F_ATTRS_MS;