diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-10-15 18:24:48 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-10-15 19:42:44 -0400 |
commit | 5ec1bbe549d939ff1ef88e2cc22b2c3b95d76401 (patch) | |
tree | 877df523bdb1b892675bee1f5aa9bb939a811e5c /net/bluetooth/a2mp.c | |
parent | 8d836d71e2223b8961b21112bb4ce89ef8231682 (diff) |
Bluetooth: Add chan->ops->set_shutdown()
We need to remove all direct access of struct sock from L2CAP core.
This change is pretty simple and just add a new L2CAP channel callback to
do the work in the L2CAP socket side.
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/a2mp.c')
-rw-r--r-- | net/bluetooth/a2mp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/a2mp.c b/net/bluetooth/a2mp.c index 1e9921024a1d..74c14779bed6 100644 --- a/net/bluetooth/a2mp.c +++ b/net/bluetooth/a2mp.c | |||
@@ -710,6 +710,7 @@ static struct l2cap_ops a2mp_chan_ops = { | |||
710 | .teardown = l2cap_chan_no_teardown, | 710 | .teardown = l2cap_chan_no_teardown, |
711 | .ready = l2cap_chan_no_ready, | 711 | .ready = l2cap_chan_no_ready, |
712 | .defer = l2cap_chan_no_defer, | 712 | .defer = l2cap_chan_no_defer, |
713 | .set_shutdown = l2cap_chan_no_set_shutdown, | ||
713 | .get_sndtimeo = l2cap_chan_no_get_sndtimeo, | 714 | .get_sndtimeo = l2cap_chan_no_get_sndtimeo, |
714 | }; | 715 | }; |
715 | 716 | ||