From c43977889d50ec96880b0e6e011c08d780c1562b Mon Sep 17 00:00:00 2001
From: Pawel Szewczyk
Date: Tue, 28 Apr 2015 10:51:51 +0200
Subject: [PATCH] libusbgx: Fix mapping function type into attributes type
Type of ffs function's attribute is not PHONET, but FFS.
Signed-off-by: Pawel Szewczyk
[Update description]
Signed-off-by: Krzysztof Opasiak
---
src/usbg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
2.7.4