The function tzplatform_getgid expects the id of a variable
matching a user name, not a group name.
The group set here will now be the group of the current user,
the user of the usb-daemon. It is valid because the mode
set using chmod is 0777.
Change-Id: I36a040dba8c6e0045e7dc7e8fdf4188f25de1091
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
#define LAUNCH_RETRY 10
#define USER tzplatform_getuid(TZ_USER_NAME)
-#define GROUP tzplatform_getgid(TZ_SYS_USER_GROUP)
+#define GROUP tzplatform_getgid(TZ_USER_NAME)
int check_usbclient_connection()
{