OSDN Git Service

Cleanup after p_mcb if L2CA_ConnectReq() failed
authorPavlin Radoslavov <pavlin@google.com>
Fri, 18 Mar 2016 08:02:45 +0000 (01:02 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Mon, 21 Mar 2016 23:48:33 +0000 (23:48 +0000)
commit757047a147582d6c5be22f0fb5148005f345fc9b
treeb3d556d720bfa1ac5e1110946fb6d6c8028f9680
parentb35c23483633826617d2312be805df93aeb9d8ca
Cleanup after p_mcb if L2CA_ConnectReq() failed

If L2CA_ConnectReq() failed, make sure that
we cleanup the lcid cache state after the
affected p_mcb.

Also, extra check and a log message inside function
rfc_check_send_cmd().

Bug: 27334916
Change-Id: Ib2950d12ce456d74355f4bcc0e3c4d87603f8f91
stack/rfcomm/rfc_l2cap_if.c
stack/rfcomm/rfc_mx_fsm.c
stack/rfcomm/rfc_utils.c