Bluetooth: Keep a copy of each HID device's report descriptor
authorMichael Poole <mdpoole@troilus.org>
Fri, 5 Feb 2010 17:23:43 +0000 (12:23 -0500)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 5 Feb 2010 17:50:05 +0000 (09:50 -0800)
commit15c697ce1c5b408c5e20dcdc6aea2968d1125b75
tree3326cde1d106ed92046639e23bb81a9fc3b3f667
parentc390216b3e868b16d8154939f4b6f8c16dbd9a9f
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 HID 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.

Signed-off-by: Michael Poole <mdpoole@troilus.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hidp/core.c
net/bluetooth/hidp/hidp.h