Bluetooth: Fix PTR_ERR return of wrong pointer in hidp_setup_hid()
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 7 Dec 2009 13:23:21 +0000 (14:23 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Dec 2009 19:47:20 +0000 (11:47 -0800)
commit971beb83aeb2a309175682cf5683d64fd4591841
tree0d119998a04d94bb41da4b22d2c310c569ae3b4f
parent503914cf4a4b5dbe3f844e0a92f412ae99fde70e
Bluetooth: Fix PTR_ERR return of wrong pointer in hidp_setup_hid()

Return the PTR_ERR of the correct pointer.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hidp/core.c