]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Introduce L2CAP channel callback for resuming
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Oct 2013 09:53:54 +0000 (02:53 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 14 Oct 2013 11:23:24 +0000 (14:23 +0300)
commit70b3fcb925f347f87bbd7a2473916bca66b3a277
tree68a00766b3b524914a87945575decbfddc939f4b
parentf451dfec26c112d6cdd87d36dc61ff9b701bbb8e
Bluetooth: Introduce L2CAP channel callback for resuming

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

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