OSDN Git Service

L2CAP: Notify DynamicChannel open after configuration is done
authorHansong Zhang <hsz@google.com>
Fri, 8 Nov 2019 01:09:00 +0000 (17:09 -0800)
committerHansong Zhang <hsz@google.com>
Fri, 8 Nov 2019 01:13:34 +0000 (17:13 -0800)
commit6662d506e815dbb8ee534e2deb5e76f18a0c8129
tree3f85b91d99cd2a7c140a3d6e76ba611ad30232cd
parent73ffe7659a6517699cb096b65a8c4d6e287d915e
L2CAP: Notify DynamicChannel open after configuration is done

DynamicChannel is usable only after two-way configuration is done. Also
we need to cancel alarm when we receive a response for signalling
packet.

Test: cert/run_cert.sh
Bug: 141557006
Change-Id: Iff769fda8af277734566a74327e85ddd4b78771a
gd/l2cap/classic/cert/simple_l2cap_test.py
gd/l2cap/classic/internal/dynamic_channel_impl.cc
gd/l2cap/classic/internal/dynamic_channel_impl.h
gd/l2cap/classic/internal/signalling_manager.cc