OSDN Git Service

L2C_CSM: Send ConfigCfm to user after ConfigInd
authorHansong Zhang <hsz@google.com>
Fri, 25 Sep 2020 20:24:55 +0000 (13:24 -0700)
committerHansong Zhang <hsz@google.com>
Sat, 26 Sep 2020 01:06:40 +0000 (18:06 -0700)
commit4bac7e4a78427ed2281d2e34f76eb5fd39e9bd91
tree2dd2579d2e81623dc69cab6a667d3340f0de4481
parentda8ec431399428922397fdae58c58d24553f843b
L2C_CSM: Send ConfigCfm to user after ConfigInd

This way, users know that a ConfigCfm event with status OK means channel
is established. No need to further keep track of state.

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I90295349c53d57aa859c5bb65e6f28a299714b3d
stack/l2cap/l2c_csm.cc
stack/l2cap/l2c_int.h