Re: [PATCH] Bluetooth: Keep a copy of each HID device's report descriptor.

Marcel Holtmann
2010-02-05T17:52:45Z

Hi Michael,

> > looks good to me. I just prefer that you do the allocation of the report
> > descriptor before the HID object:
>
> An updated patch is below. Sorry for the delay -- inclement weather
> here got in the way of testing this as quickly as I would have liked.
>
> From e245ef87247f5e257db40c412af7991c9af375ab Mon Sep 17 00:00:00 2001
> From: Michael Poole <mdpoole@troilus.org>
> Date: Fri, 5 Feb 2010 12:21:38 -0500
> Subject: [PATCH] Bluetooth: Keep a copy of each HID device's report descriptor.
>
> The report descriptor is read by user space (via the Service
> Discovery Protocol), so it is only available during the ioctl
> to connect. However, the probe function that needs the
> descriptor might not be called until a specific module is
> loaded. Keep a copy of the descriptor so it is available for
> later use.

patch has been applied. Thanks.

Regards

Marcel