Bluetooth: Fix L2CAP locking scheme regression
authorAndrei Emeltchenko <andrei.emeltchenko@nokia.com>
Tue, 15 Dec 2009 09:38:04 +0000 (11:38 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Dec 2009 20:07:25 +0000 (12:07 -0800)
commitb13f5860447a98daf0358a51fbff66154ac0663a
treefc4c752e4b8ab5649d421955de3de399953f12d9
parent186ee8cf0130993dea8ab8867ff1af8a148f9ae6
Bluetooth: Fix L2CAP locking scheme regression

When locking was introduced the error path branch was not taken
into account. Error was found in sparse code checking. Kudos to
Jani Nikula.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@nokia.com>
Acked-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c