]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Move clean up code and set of SOCK_ZAPPED to l2cap_sock.c
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Mon, 28 May 2012 01:27:52 +0000 (22:27 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:10 +0000 (06:34 +0300)
commita0f10c54b254726051ed01d2b7b3d360c97cbac3
treee5dbd0ee76df7d761c6315cc07ab5df4fa861cc4
parent6f2a2c10dc5a11f803ec1a1da532ddbd75ea458c
Bluetooth: Move clean up code and set of SOCK_ZAPPED to l2cap_sock.c

This remove a bit more of socket code from l2cap core, this calls set the
SOCK_ZAPPED and do some clean up depending on the socket state.

Reported-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c