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)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:17:47 +0000 (12:17 -0800)
commit8221d271eb084de93025a81897bfa533a54a3636
treeb4086980ac6cac2ea0973b9518f7c73fefb63c75
parent680ce16e2c767213af93c6eabe606dd09cea577a
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.

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