aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/l2cap.h
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-03-25 13:59:37 -0300
committerGustavo F. Padovan <padovan@profusion.mobi>2011-04-07 18:06:26 -0300
commitfc7f8a7ed4543853a99852ca405ea71fabe78946 (patch)
treeba641dfeaca9eda1b2907f7c9c1d5af8eff34cd2 /include/net/bluetooth/l2cap.h
parentBluetooth: Remove struct del_list (diff)
downloadlinux-dev-fc7f8a7ed4543853a99852ca405ea71fabe78946.tar.xz
linux-dev-fc7f8a7ed4543853a99852ca405ea71fabe78946.zip
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>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r--include/net/bluetooth/l2cap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index d24b51c3ff8c..81829e5c407d 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -279,6 +279,8 @@ struct l2cap_conn_param_update_rsp {
/* ----- L2CAP channels and connections ----- */
struct l2cap_chan {
struct sock *sk;
+ __u8 ident;
+
struct list_head list;
};
@@ -363,8 +365,6 @@ struct l2cap_pinfo {
__u16 partial_sdu_len;
struct sk_buff *sdu;
- __u8 ident;
-
__u8 tx_win;
__u8 max_tx;
__u8 remote_tx_win;