]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/net/bluetooth/l2cap.h
Bluetooth: Access sk_sndtimeo indirectly in l2cap_core.c
[karo-tx-linux.git] / include / net / bluetooth / l2cap.h
index 4ec86cec8914ebfccd234de840642fe31a914a32..9c6be72b6e4ee1172dca865d9ae0fe59a1c2a136 100644 (file)
@@ -555,6 +555,7 @@ struct l2cap_ops {
        void                    (*ready) (struct l2cap_chan *chan);
        void                    (*defer) (struct l2cap_chan *chan);
        void                    (*resume) (struct l2cap_chan *chan);
+       long                    (*get_sndtimeo) (struct l2cap_chan *chan);
        struct sk_buff          *(*alloc_skb) (struct l2cap_chan *chan,
                                               unsigned long len, int nb);
 };
@@ -795,6 +796,11 @@ static inline void l2cap_chan_no_defer(struct l2cap_chan *chan)
 {
 }
 
+static inline long l2cap_chan_no_get_sndtimeo(struct l2cap_chan *chan)
+{
+       return 0;
+}
+
 extern bool disable_ertm;
 
 int l2cap_init_sockets(void);