diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-04-13 20:57:03 +0200 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-04-27 23:51:35 +0200 |
commit | 47d1ec6161da2c7b9dbc56a5200fa26b17d5fdc1 (patch) | |
tree | 7f7c5288d420cf84cf38ba55ca36bcc052066e92 /net/bluetooth/rfcomm | |
parent | Bluetooth: Move some more elements to struct l2cap_chan (diff) | |
download | linux-47d1ec6161da2c7b9dbc56a5200fa26b17d5fdc1.tar.xz linux-47d1ec6161da2c7b9dbc56a5200fa26b17d5fdc1.zip |
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, sk = sock->sk; lock_sock(sk); l2cap_pi(sk)->imtu = l2cap_mtu; - l2cap_pi(sk)->sec_level = sec_level; + l2cap_pi(sk)->chan->sec_level = sec_level; if (l2cap_ertm) l2cap_pi(sk)->mode = L2CAP_MODE_ERTM; release_sock(sk); |