diff --git a/src/hidpp10.c b/src/hidpp10.c index 66782c95..ff278bf4 100644 --- a/src/hidpp10.c +++ b/src/hidpp10.c @@ -2751,8 +2751,7 @@ hidpp10_get_device_info(struct hidpp10_device *dev) hidpp10_get_optical_sensor_settings(dev, &reflect); - hidpp10_get_current_profile(dev, ¤t_profile); - return 0; + return hidpp10_get_current_profile(dev, ¤t_profile); } struct hidpp10_device*