[Bluetooth] Fix HID disconnect NULL pointer dereference
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 20 Oct 2006 06:55:48 +0000 (08:55 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 20 Oct 2006 08:15:05 +0000 (01:15 -0700)
commit7b19ffc40b0247fcfe083644fdb621fdb3c05ef6
tree4980d57a434ba6fbba1b9c566e531158d8de9327
parent8602b4fe6e82d5eeb479efd3bca19bc3dd722f5a
[Bluetooth] Fix HID disconnect NULL pointer dereference

The latest HID disconnect sequence change introduced a NULL pointer
dereference. For the quirk to handle buggy remote HID implementations,
it is enough to wait for a potential control channel disconnect from
the remote side and it is also enough to wait only 500 msecs.

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