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

Commit 6d3567c7 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Android Git Automerger
Browse files

am 2af46f03: LE: Fix build for devices not support BLE/Privacy

* commit '2af46f03':
  LE: Fix build for devices not support BLE/Privacy
parents 61324011 2af46f03
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -184,7 +184,9 @@ BOOLEAN BTM_SecDeleteDevice (BD_ADDR bd_addr)
    if ((p_dev_rec = btm_find_dev (bd_addr)) == NULL)
        return(FALSE);

#if BLE_INCLUDED == TRUE && BLE_PRIVACY_SPT == TRUE
    btm_ble_vendor_irk_list_remove_dev(p_dev_rec);
#endif
    btm_sec_free_dev (p_dev_rec);

    /* Tell controller to get rid of the link key if it has one stored */