OSDN Git Service

L2CAP: Reverse order in disconnection response
authorHansong Zhang <hsz@google.com>
Fri, 8 Nov 2019 23:57:17 +0000 (15:57 -0800)
committerHansong Zhang <hsz@google.com>
Fri, 8 Nov 2019 23:57:17 +0000 (15:57 -0800)
commit948f407b2cea7fb4df4fcd81fa6744bd31e0d2cb
treee9a985a7d1ffef639c64e8236095fc094a59e69f
parent2b0a4c50913b49c9b0caa8e959dca7255aef6c0c
L2CAP: Reverse order in disconnection response

The DCID and the SCID (which are relative to the sender of the request),
and the Identifier fields shall match those of the corresponding
disconnection request command. If the CIDs do not match, the response
should be silently discarded at the receiver.

Test: cert/run_cert.sh L2CAP/COS/CED/BV-07-C
Bug: 141557006
Change-Id: I884007af3f2c032729f93319d3d5de43c3384966
gd/l2cap/classic/cert/simple_l2cap_test.py
gd/l2cap/classic/internal/signalling_manager.cc