diff --git a/src/driver-etekcity.c b/src/driver-etekcity.c index bd8a015b..e9f07a3e 100644 --- a/src/driver-etekcity.c +++ b/src/driver-etekcity.c @@ -579,7 +579,7 @@ etekcity_write_profile(struct ratbag_profile *profile) msleep(100); - if (rc < 50) + if (rc < ETEKCITY_REPORT_SIZE_PROFILE) return -EIO; log_raw(device->ratbag, "profile: %d written %s:%d\n",