diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-14 11:53:54 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-14 13:23:24 +0200 |
commit | d97c899bde330cd1c76c3a162558177563a74362 (patch) | |
tree | 68a00766b3b524914a87945575decbfddc939f4b /include/net/bluetooth | |
parent | Bluetooth: Introduce L2CAP channel flag for defer setup (diff) | |
download | linux-d97c899bde330cd1c76c3a162558177563a74362.tar.xz linux-d97c899bde330cd1c76c3a162558177563a74362.zip |
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/net/bluetooth')
-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 { int state); void (*ready) (struct l2cap_chan *chan); void (*defer) (struct l2cap_chan *chan); + void (*resume) (struct l2cap_chan *chan); struct sk_buff *(*alloc_skb) (struct l2cap_chan *chan, unsigned long len, int nb); }; |