aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/l2cap.h
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-03-25 20:09:37 -0300
committerGustavo F. Padovan <padovan@profusion.mobi>2011-04-07 18:06:27 -0300
commit6f61fd475907bf0a1470cb969ee993a31d305513 (patch)
tree3d95dd404d0375d796d75198036466920df214db /include/net/bluetooth/l2cap.h
parentBluetooth: Move more ERTM stuff to struct l2cap_chan (diff)
downloadlinux-dev-6f61fd475907bf0a1470cb969ee993a31d305513.tar.xz
linux-dev-6f61fd475907bf0a1470cb969ee993a31d305513.zip
Bluetooth: Move SDU related vars to struct l2cap_chan
As part of the moving channel stuff to l2cap_chan. Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r--include/net/bluetooth/l2cap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 041213b4175a..19d613bbcf00 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -298,6 +298,10 @@ struct l2cap_chan {
__u8 unacked_frames;
__u8 retry_count;
__u8 num_acked;
+ __u16 sdu_len;
+ __u16 partial_sdu_len;
+ struct sk_buff *sdu;
+
struct list_head list;
};
@@ -364,10 +368,6 @@ struct l2cap_pinfo {
__u8 conf_state;
- __u16 sdu_len;
- __u16 partial_sdu_len;
- struct sk_buff *sdu;
-
__u8 tx_win;
__u8 max_tx;
__u8 remote_tx_win;