]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Let HIDP grab the device reference for connections
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 22 Aug 2009 21:22:15 +0000 (14:22 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 22 Aug 2009 21:22:15 +0000 (14:22 -0700)
commit5d9b8092336338059b7f0887997e9e2082d13990
tree3513335d25e260daed72ecc0bdf19b0fd8bdcac2
parentf017dbb82fa8a7d93847ff2685d29afd37448c91
Bluetooth: Let HIDP grab the device reference for connections

The core exports the hci_conn_hold_device() and hci_conn_put_device()
functions for device reference of connections. Use this to ensure that
the uevents from the parent are send after the child ones.

Based on a report by Brian Rogers <brian@xyzw.org>

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