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

Commit 2af46f03 authored by Andre Eisenbach's avatar Andre Eisenbach
Browse files

LE: Fix build for devices not support BLE/Privacy

Change-Id: I00951bb14384be4fdc946410f1082963af8ad569
parent 9d0ae7e2
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 */