OSDN Git Service

L2CAP: keep cached peer configuration locally
authorCheney Ni <cheneyni@google.com>
Tue, 3 Nov 2020 07:16:11 +0000 (15:16 +0800)
committerCheney Ni <cheneyni@google.com>
Tue, 3 Nov 2020 07:58:17 +0000 (15:58 +0800)
commit4cd44da0da86bdef424fca21f3e8a130e3fc4d10
tree9a4a822ed18b0c0d258ad863b2832ad4febdade5
parent5e2450c562fbf8ad3a4b1e9b79813faa44d5de81
L2CAP: keep cached peer configuration locally

In order to report currect MTU to upper layer while that channel opened,
this change keeps remote peer configuration locally.

Bug: 171353431
Test: act.py -tc BleCocTest
Test: verify basic functions working
Tag: #refactor
Change-Id: Id4f5f22eb58e6f546278a12b269a700d760b3578
stack/l2cap/l2c_csm.cc
stack/l2cap/l2c_utils.cc