aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/l2cap.h
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-05-29 12:19:26 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2012-06-04 23:34:16 -0400
commit7e1af8a3a51dbf5dc7392fb294a0830f7e853aa8 (patch)
tree5f495e6078044694b1b70e068288b1645e3370f7 /include/net/bluetooth/l2cap.h
parent8c3a4f004e706fd7e681c68c6de4946c8c76b976 (diff)
Bluetooth: Create empty l2cap ops function
A2MP doesn't use part of the L2CAP chan ops API so we just create general empty function instead of the A2MP specific one. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r--include/net/bluetooth/l2cap.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index ce99c5683d9e..d80e3f0691b4 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -740,6 +740,18 @@ static inline __u16 __next_seq(struct l2cap_chan *chan, __u16 seq)
740 return (seq + 1) % (chan->tx_win_max + 1); 740 return (seq + 1) % (chan->tx_win_max + 1);
741} 741}
742 742
743static inline struct l2cap_chan *l2cap_chan_no_new_connection(struct l2cap_chan *chan)
744{
745 return NULL;
746}
747
748static inline void l2cap_chan_no_teardown(struct l2cap_chan *chan, int err)
749{
750}
751
752static inline void l2cap_chan_no_ready(struct l2cap_chan *chan)
753{
754}
743 755
744extern bool disable_ertm; 756extern bool disable_ertm;
745 757