Bluetooth: Use locked l2cap_state_change()
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Sat, 6 Oct 2012 10:47:38 +0000 (11:47 +0100)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 12 Oct 2012 10:21:11 +0000 (18:21 +0800)
commitd117773ce5c73eaa51f3283f89802f4491b27b2e
tree8015fb3e565aadb1c97e6615679e79848674ff46
parent1d8b1fd55aa1dfa9edd74ebb467db9358fa56f8a
Bluetooth: Use locked l2cap_state_change()

No one was protecting the state set in l2cap_send_disconn_req()

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c