OSDN Git Service

PDU data lengty computation fix
authorJakub Pawlowski <jpawlowski@google.com>
Thu, 1 Feb 2018 18:03:37 +0000 (10:03 -0800)
committerJakub Pawlowski <jpawlowski@google.com>
Thu, 1 Feb 2018 18:07:26 +0000 (10:07 -0800)
commit10018c28befa0f82f7f9ea0d6cf9b00622285dc7
tree0975861cc983b76435ac2ec9e70c5651fd209885
parentbc94521056d379ec96e2511b43fbc97130868ade
PDU data lengty computation fix

PDU data must also account for PDU length and Channel ID fields.
Otherwise each PDU is split into 2 BB packets, decreasing the link
speed.

Test: manual data transimssion test.
Change-Id: I026bf0e32c58eec620b5c55d748ecd81fa3ea67b
stack/l2cap/l2c_fcr.cc