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

Commit 9f8f477c authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Android Partner Code Review
Browse files

Merge "Reset LE connecting flag on disconnect only if BDA matches" into m-wireless-dev

parents 5f02c636 161e3ec2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -177,6 +177,8 @@ void l2cu_release_lcb (tL2C_LCB *p_lcb)
    }

#if (BLE_INCLUDED == TRUE)
    // Reset BLE connecting flag only if the address matches
    if (!memcmp(l2cb.ble_connecting_bda, p_lcb->remote_bd_addr, BD_ADDR_LEN))
        l2cb.is_ble_connecting = FALSE;
#endif