return;
}
- ret = gb_operation_response_send(op, 0);
- if (ret) {
- dev_err(&connection->dev,
- "failed to send response status %d: %d\n",
- 0, ret);
- }
-
size = request->report[0] | request->report[1] << 8;
if (!size) {
dev_err(&connection->dev, "bad report size: %d\n", size);
if (test_bit(GB_HID_STARTED, &ghid->flags))
hid_input_report(ghid->hid, HID_INPUT_REPORT,
request->report + 2, size - 2, 1);
+
+ ret = gb_operation_response_send(op, 0);
+ if (ret) {
+ dev_err(&connection->dev,
+ "failed to send response status %d: %d\n",
+ 0, ret);
+ }
}