Bluetooth: Move SDU related vars to struct l2cap_chan
[pandora-kernel.git] / include / net / bluetooth / l2cap.h
index 041213b..19d613b 100644 (file)
@@ -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;