Bluetooth: Move ident to struct l2cap_chan
ident is chan property, no need to reside on socket.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index d24b51c..81829e5 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -279,6 +279,8 @@
/* ----- L2CAP channels and connections ----- */
struct l2cap_chan {
struct sock *sk;
+ __u8 ident;
+
struct list_head list;
};
@@ -363,8 +365,6 @@
__u16 partial_sdu_len;
struct sk_buff *sdu;
- __u8 ident;
-
__u8 tx_win;
__u8 max_tx;
__u8 remote_tx_win;