Bluetooth: Disconnect HIDRAW devices on disconnect
commite6b29924d809c3e9e66e550c032f3cc6a3d39d6f
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 22 Aug 2009 21:15:53 +0000 (22 14:15 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Oct 2009 22:11:53 +0000 (22 15:11 -0700)
treedb838acfcb8dd3837f50c1e33ad8a73f79ff5412
parent928770fb4a39a86715363c8a7172c8b66e8145f8
Bluetooth: Disconnect HIDRAW devices on disconnect

commit 364f63519d94442ed373ac7da79033c8282df46a upstream.

Currently the HID subsystem will create HIDRAW devices for the transport
driver, but it will not disconnect them. Until the HID subsytem gets
fixed, ensure that HIDRAW and HIDDEV devices are disconnected when the
Bluetooth HID device gets removed.

Based on a patch from Brian Rogers <brian@xyzw.org>

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/bluetooth/hidp/core.c