Bluetooth: Refactor locking in amp_physical_cfm
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Wed, 14 Nov 2012 15:39:30 +0000 (17:39 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 19 Nov 2012 21:30:00 +0000 (19:30 -0200)
commita514b17fab51c1433db920d76cf8ddda959e5da0
treeaedaf1cdddec615c2938813b57c7e5fc18c9199a
parent522db70286fcce420e5fc1be107912fbd3806323
Bluetooth: Refactor locking in amp_physical_cfm

Remove locking from l2cap_physical_cfm and lock chan inside
amp_physical_cfm.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/l2cap.h
net/bluetooth/amp.c
net/bluetooth/l2cap_core.c