aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-03-25 18:43:39 -0400
committerGustavo F. Padovan <padovan@profusion.mobi>2011-04-07 17:06:26 -0400
commit525cd1851b9faaadf5ea33e05192b8d22f42487e (patch)
treeffc0483630e3ec505fa14fa3e4073ac08be596d2 /include
parent710f9b0a423cad155144742f6497efe5163ed750 (diff)
Bluetooth: Move conn_state to struct l2cap_chan
This is part of "moving things to l2cap_chan". As one the first move it triggered a big number of changes in the funcions parameters, basically changing the struct sock param to struct l2cap_chan. Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/l2cap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 469241353d78..82d5b81a779b 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -286,6 +286,8 @@ struct l2cap_chan {
286 __u8 num_conf_req; 286 __u8 num_conf_req;
287 __u8 num_conf_rsp; 287 __u8 num_conf_rsp;
288 288
289 __u16 conn_state;
290
289 struct list_head list; 291 struct list_head list;
290}; 292};
291 293
@@ -350,7 +352,6 @@ struct l2cap_pinfo {
350 __u8 flushable; 352 __u8 flushable;
351 353
352 __u8 conf_state; 354 __u8 conf_state;
353 __u16 conn_state;
354 355
355 __u8 next_tx_seq; 356 __u8 next_tx_seq;
356 __u8 expected_ack_seq; 357 __u8 expected_ack_seq;
@@ -456,7 +457,7 @@ struct sk_buff *l2cap_create_iframe_pdu(struct sock *sk, struct msghdr *msg, siz
456int l2cap_sar_segment_sdu(struct sock *sk, struct msghdr *msg, size_t len); 457int l2cap_sar_segment_sdu(struct sock *sk, struct msghdr *msg, size_t len);
457void l2cap_do_send(struct sock *sk, struct sk_buff *skb); 458void l2cap_do_send(struct sock *sk, struct sk_buff *skb);
458void l2cap_streaming_send(struct sock *sk); 459void l2cap_streaming_send(struct sock *sk);
459int l2cap_ertm_send(struct sock *sk); 460int l2cap_ertm_send(struct l2cap_chan *chan);
460 461
461void l2cap_sock_set_timer(struct sock *sk, long timeout); 462void l2cap_sock_set_timer(struct sock *sk, long timeout);
462void l2cap_sock_clear_timer(struct sock *sk); 463void l2cap_sock_clear_timer(struct sock *sk);