Bluetooth: Add locked and unlocked state_change
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Tue, 21 Feb 2012 10:54:57 +0000 (12:54 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 11:06:58 +0000 (13:06 +0200)
commit0e587be728a522fd8e522ad905b02f2892b61712
treed0104f63cf6a80045b94e7cd04f8da7dddacf34e
parentc03b355ea2938495bbdf25a4645be545be8890f4
Bluetooth: Add locked and unlocked state_change

Split to locked and unlocked versions of l2cap_state_change helping
to remove socket locks from l2cap code.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Reviewed-by: Ulisses Furquim <ulisses@profusion.mobi>
Acked-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/l2cap_core.c