]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc07b337738480f03c8df7eb435380a780092e71e
treea140691a2c96629f86ff554dbf6677d2057b69cd
parentd86278686a2586ff1cdda01b7f8784cf68220e6f
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