Bluetooth: Keep chan->state and sk->sk_state in sync
authorGustavo F. Padovan <padovan@profusion.mobi>
Wed, 28 Dec 2011 15:54:17 +0000 (13:54 -0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Tue, 3 Jan 2012 03:38:37 +0000 (01:38 -0200)
commit3542b854bc26e5f8e42e0eab4d7f7453b74a362d
tree1958fa65523d15edec3813a664a6199e90727254
parent333055f2aaabadb951b5ecd90f6a20a9aee38c29
Bluetooth: Keep chan->state and sk->sk_state in sync

Those vars need to be in sync, otherwise l2cap_core.c can get the wrong
state.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_sock.c