]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc4ec2d680924f7640c6681ddc05d25482143d0d7
tree3326cde1d106ed92046639e23bb81a9fc3b3f667
parent76b91c3e4c04bf1db21568e53fc6062a2c268a37
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