Bluetooth: Don't lock sock inside l2cap_get_sock_by_scid()
authorGustavo F. Padovan <padovan@profusion.mobi>
Wed, 13 Apr 2011 22:01:22 +0000 (19:01 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 13 Apr 2011 22:01:22 +0000 (19:01 -0300)
commit280f294f7bd0c14d9f802a551c95dc930e31d723
treebbaafef3334a85d339ff07cff622fcb58b4ef806
parent9f72c1d977e47a7d182d49ea131067cba0a96ab8
Bluetooth: Don't lock sock inside l2cap_get_sock_by_scid()

Fix an locking issue with the new l2cap_att_channel(). l2cap_att_channel()
was trying to lock a locked socket.

Reported-by: Anderson Lizardo <anderson.lizardo@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c