]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit36bdaacc130152841f304157a8dbe5bbafb1c207
tree4980d57a434ba6fbba1b9c566e531158d8de9327
parent1586dc921c7ec2f9936015f63d10288a98f1d3ae
[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