Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172159
b: refs/heads/master
c: 2da3193
h: refs/heads/master
i:
  172157: 8d4e3e0
  172155: fc320cb
  172151: 5542060
  172143: b6602fa
  172127: 7735e48
  172095: d437cf0
  172031: 34ad129
v: v3
  • Loading branch information
Jiri Kosina authored and Marcel Holtmann committed Dec 3, 2009
1 parent 813baa1 commit f17d70a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fed4c2508b7419d0a55958fead6151b32def1683
refs/heads/master: 2da31939a42f7a676a0bc5155d6a0a39ed8451f2
9 changes: 9 additions & 0 deletions trunk/net/bluetooth/hidp/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,13 @@ static int hidp_send_report(struct hidp_session *session, struct hid_report *rep
return hidp_queue_report(session, buf, rsize);
}

static int hidp_output_raw_report(struct hid_device *hid, unsigned char *data, size_t count)
{
if (hidp_queue_report(hid->driver_data, data, count))
return -ENOMEM;
return count;
}

static void hidp_idle_timeout(unsigned long arg)
{
struct hidp_session *session = (struct hidp_session *) arg;
Expand Down Expand Up @@ -785,6 +792,8 @@ static int hidp_setup_hid(struct hidp_session *session,
hid->dev.parent = hidp_get_device(session);
hid->ll_driver = &hidp_hid_driver;

hid->hid_output_raw_report = hidp_output_raw_report;

err = hid_add_device(hid);
if (err < 0)
goto failed;
Expand Down

0 comments on commit f17d70a

Please sign in to comment.