diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-04-13 14:57:03 -0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-04-27 17:51:35 -0400 |
commit | 47d1ec6161da2c7b9dbc56a5200fa26b17d5fdc1 (patch) | |
tree | 7f7c5288d420cf84cf38ba55ca36bcc052066e92 /net/bluetooth/rfcomm | |
parent | 4343478f3a4806394136d8141b2e451aa5443f03 (diff) |
Bluetooth: Move more vars to struct l2cap_chan
In this commit all ERTM and Streaming Mode specific vars.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/rfcomm')
-rw-r--r-- | net/bluetooth/rfcomm/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/rfcomm/core.c b/net/bluetooth/rfcomm/core.c index c9973932456f..4f728a4f7177 100644 --- a/net/bluetooth/rfcomm/core.c +++ b/net/bluetooth/rfcomm/core.c | |||
@@ -711,7 +711,7 @@ static struct rfcomm_session *rfcomm_session_create(bdaddr_t *src, | |||
711 | sk = sock->sk; | 711 | sk = sock->sk; |
712 | lock_sock(sk); | 712 | lock_sock(sk); |
713 | l2cap_pi(sk)->imtu = l2cap_mtu; | 713 | l2cap_pi(sk)->imtu = l2cap_mtu; |
714 | l2cap_pi(sk)->sec_level = sec_level; | 714 | l2cap_pi(sk)->chan->sec_level = sec_level; |
715 | if (l2cap_ertm) | 715 | if (l2cap_ertm) |
716 | l2cap_pi(sk)->mode = L2CAP_MODE_ERTM; | 716 | l2cap_pi(sk)->mode = L2CAP_MODE_ERTM; |
717 | release_sock(sk); | 717 | release_sock(sk); |