OSDN Git Service

L2CAP: Don't allow sending re-config
authorHansong Zhang <hsz@google.com>
Fri, 25 Sep 2020 07:04:44 +0000 (00:04 -0700)
committerHansong Zhang <hsz@google.com>
Sat, 26 Sep 2020 01:06:40 +0000 (18:06 -0700)
commitdb34984d2965f9c84233157f409d62b8030b1152
tree4996aa21db1e0e0e05a32b3399705fb6c9eac3f4
parent8588d5cdd136140c70f90ef32cfbb95fd4ac6e9b
L2CAP: Don't allow sending re-config

There is no use case. Remove the support for now. This makes L2CAP state
machine more complicated.

Note that we don't handle re-config request from remote gracefully. For
example, RFCOMM will simply disconnect.

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