Bluetooth: Introduce L2CAP channel callback for suspending
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 15 Oct 2013 08:03:18 +0000 (11:03 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Dec 2013 15:05:35 +0000 (07:05 -0800)
commit837776f7904024df451422f32b09c67e88ae2aa2
treeab66fbb6cfb9e53c4e5a771a7a7a9984c3bc9d33
parent3af8ace653c83c663d4b97c6ea7f01463d366bf9
Bluetooth: Introduce L2CAP channel callback for suspending

Setting the BT_SK_SUSPEND socket flag from the L2CAP core is causing a
dependency on the socket. So instead of doing that, use a channel
callback into the socket handling to suspend.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_sock.c