Diff between 34f34e9e1ffc16588ef27509c3c57a966176fbe9 and 23d0a252dd64b7ddf61892f53f1dcdc3dc2c80b0
Changed Files
| File | Additions | Deletions | Status |
| profiles/input/hog.c | +1 | -1 | modified |
Full Patch
diff --git a/profiles/input/hog.c b/profiles/input/hog.c
index 41da9f9..fb51663 100644
--- a/profiles/input/hog.c
+++ b/profiles/input/hog.c
@@ -480,7 +480,7 @@ static void get_report_cb(guint8 status, const guint8 *pdu, guint16 len,
goto exit;
}
- if (len <= 0) {
+ if (len == 0) {
error("Error reading Report, length %d", len);
status = EIO;
goto exit;