Bluetooth: Disconnect HIDRAW devices on disconnect
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 22 Aug 2009 21:15:53 +0000 (14:15 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 22 Aug 2009 21:15:53 +0000 (14:15 -0700)
commit364f63519d94442ed373ac7da79033c8282df46a
treeaf17fa090f2525e562396dbb2916199635ca1197
parent290ba200815fdecb4d40dc942499c4ea6d0c4624
Bluetooth: Disconnect HIDRAW devices on disconnect

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>
net/bluetooth/hidp/core.c