diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-14 05:53:54 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-14 07:23:24 -0400 |
commit | d97c899bde330cd1c76c3a162558177563a74362 (patch) | |
tree | 68a00766b3b524914a87945575decbfddc939f4b /include | |
parent | bdc257830760a784370ae4ab2d682b252b983e77 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 1a38edee38e4..07757a2af942 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -554,6 +554,7 @@ struct l2cap_ops { | |||
554 | int state); | 554 | int state); |
555 | void (*ready) (struct l2cap_chan *chan); | 555 | void (*ready) (struct l2cap_chan *chan); |
556 | void (*defer) (struct l2cap_chan *chan); | 556 | void (*defer) (struct l2cap_chan *chan); |
557 | void (*resume) (struct l2cap_chan *chan); | ||
557 | struct sk_buff *(*alloc_skb) (struct l2cap_chan *chan, | 558 | struct sk_buff *(*alloc_skb) (struct l2cap_chan *chan, |
558 | unsigned long len, int nb); | 559 | unsigned long len, int nb); |
559 | }; | 560 | }; |