Bluetooth: Add state tracking to struct l2cap_chan
authorGustavo F. Padovan <padovan@profusion.mobi>
Fri, 3 Jun 2011 03:19:47 +0000 (00:19 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 13 Jun 2011 17:55:33 +0000 (14:55 -0300)
commit89bc500e41fc5b48e0573e6b0d927fc97b8951dc
treea140691a2c96629f86ff554dbf6677d2057b69cd
parentba3bd0ee3946d9300512e685e8d5573dfa10c060
Bluetooth: Add state tracking to struct l2cap_chan

Now socket state is tracked by struct sock and channel state is tracked by
chan->state. At this point both says the same, but this is going to change
when we add AMP Support for example.

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