Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9fd8113 authored by Matthew Xie's avatar Matthew Xie Committed by Android Git Automerger
Browse files

am 92e36d19: am 8d7ec64f: Merge "Fix a bug on jv and stack port handle conversion" into jb-mr2-dev

* commit '92e36d19':
  Fix a bug on jv and stack port handle conversion
parents 64516cfe 92e36d19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1515,7 +1515,7 @@ tBTA_JV_STATUS BTA_JvRfcommRead(UINT32 handle, UINT32 req_id, UINT8 *p_data, UIN
*******************************************************************************/
UINT16 BTA_JvRfcommGetPortHdl(UINT32 handle)
{
    UINT32  hi = ((handle & BTA_JV_RFC_HDL_MASK) & BTA_JV_RFCOMM_MASK) - 1;
    UINT32  hi = ((handle & BTA_JV_RFC_HDL_MASK) & ~BTA_JV_RFCOMM_MASK) - 1;
    UINT32  si = BTA_JV_RFC_HDL_TO_SIDX(handle);

    if (hi < BTA_JV_MAX_RFC_CONN &&