diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-04-13 16:20:49 -0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-04-28 00:09:58 -0400 |
commit | 0c1bc5c626e9783034264ccca4b262b3acc628f1 (patch) | |
tree | ca6c9ecaf753ec9892d3cec078c63723299e01fb /include/net | |
parent | 47d1ec6161da2c7b9dbc56a5200fa26b17d5fdc1 (diff) |
Bluetooth: Move more channel info to struct l2cap_chan
In this commit, omtu, imtu, flush_to, mode and sport. It also remove the
pi var from l2cap_sock_sendmsg().
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 02db90210f8d..7522835c24ee 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -285,6 +285,13 @@ struct srej_list { | |||
285 | struct l2cap_chan { | 285 | struct l2cap_chan { |
286 | struct sock *sk; | 286 | struct sock *sk; |
287 | 287 | ||
288 | __u16 imtu; | ||
289 | __u16 omtu; | ||
290 | __u16 flush_to; | ||
291 | __u8 mode; | ||
292 | |||
293 | __le16 sport; | ||
294 | |||
288 | __u8 sec_level; | 295 | __u8 sec_level; |
289 | __u8 role_switch; | 296 | __u8 role_switch; |
290 | __u8 force_reliable; | 297 | __u8 force_reliable; |
@@ -379,13 +386,6 @@ struct l2cap_pinfo { | |||
379 | __u16 dcid; | 386 | __u16 dcid; |
380 | __u16 scid; | 387 | __u16 scid; |
381 | 388 | ||
382 | __u16 imtu; | ||
383 | __u16 omtu; | ||
384 | __u16 flush_to; | ||
385 | __u8 mode; | ||
386 | |||
387 | __le16 sport; | ||
388 | |||
389 | struct l2cap_conn *conn; | 389 | struct l2cap_conn *conn; |
390 | struct l2cap_chan *chan; | 390 | struct l2cap_chan *chan; |
391 | }; | 391 | }; |