From cab9169e6f3a98ef1412b37ce4a3c43ba52bd9b4 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 26 Aug 2015 08:52:49 +1000 Subject: [PATCH] hidpp10: actually return the profile when we're fetching it Signed-off-by: Peter Hutterer --- src/hidpp10.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hidpp10.c b/src/hidpp10.c index e98be716..2d22670d 100644 --- a/src/hidpp10.c +++ b/src/hidpp10.c @@ -523,6 +523,8 @@ hidpp10_get_profile(struct hidpp10_device *dev, int8_t number, struct hidpp10_pr } } + *profile_return = profile; + return 0; }