Diff between ce7eb5d0c51f4c20a0c201189f8b75bf58f9ad3e and 9d30a5a539a84ca840ffb93895f715a5ccb129a4
Changed Files
| File | Additions | Deletions | Status |
| android/hidhost.c | +1 | -1 | modified |
Full Patch
diff --git a/android/hidhost.c b/android/hidhost.c
index 73c5f41..bb55f5e 100644
--- a/android/hidhost.c
+++ b/android/hidhost.c
@@ -371,7 +371,7 @@ static void bt_hid_notify_get_report(struct hid_device *dev, uint8_t *buf,
ba2str(&dev->dst, address);
DBG("device %s", address);
- ev_len = sizeof(*ev) + sizeof(struct hal_ev_hidhost_get_report) + 1;
+ ev_len = sizeof(*ev);
if (!((buf[0] == (HID_MSG_DATA | HID_DATA_TYPE_INPUT)) ||
(buf[0] == (HID_MSG_DATA | HID_DATA_TYPE_OUTPUT)) ||