OSDN Git Service

L2CAP: Use ERTM info during registration, not conn req
authorHansong Zhang <hsz@google.com>
Fri, 25 Sep 2020 22:18:09 +0000 (15:18 -0700)
committerHansong Zhang <hsz@google.com>
Sat, 26 Sep 2020 01:06:40 +0000 (18:06 -0700)
commit187708488678f20f5bf081dcb5572151656eef52
tree4cd92f7a4b2be382684eb0fb7362c44482475118
parentf1ed22df09eccc4b61c25cf7ab0dd1d7b38a7b95
L2CAP: Use ERTM info during registration, not conn req

ERTM info is stored in p_ccb->p_rcb. Use that as the source of truth.

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I78c3d65fdaf14addf80607ce5105221e52447a9e
stack/l2cap/l2c_api.cc
stack/l2cap/l2c_fcr.cc
stack/l2cap/l2c_utils.cc