diff options
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 3434cfc26b..a4278aa618 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h @@ -548,9 +548,6 @@ struct l2cap_chan { __u16 tx_credits; __u16 rx_credits; - /* estimated available receive buffer space or -1 if unknown */ - ssize_t rx_avail; - __u8 tx_state; __u8 rx_state; @@ -685,15 +682,10 @@ struct l2cap_user { /* ----- L2CAP socket info ----- */ #define l2cap_pi(sk) ((struct l2cap_pinfo *) sk) -struct l2cap_rx_busy { - struct list_head list; - struct sk_buff *skb; -}; - struct l2cap_pinfo { struct bt_sock bt; struct l2cap_chan *chan; - struct list_head rx_busy; + struct sk_buff *rx_busy_skb; }; enum { @@ -951,7 +943,6 @@ int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid, int l2cap_chan_reconfigure(struct l2cap_chan *chan, __u16 mtu); int l2cap_chan_send(struct l2cap_chan *chan, struct msghdr *msg, size_t len); void l2cap_chan_busy(struct l2cap_chan *chan, int busy); -void l2cap_chan_rx_avail(struct l2cap_chan *chan, ssize_t rx_avail); int l2cap_chan_check_security(struct l2cap_chan *chan, bool initiator); void l2cap_chan_set_defaults(struct l2cap_chan *chan); int l2cap_ertm_init(struct l2cap_chan *chan); |