Home
last modified time | relevance | path

Searched refs:nrpa (Results 1 – 1 of 1) sorted by relevance

/linux/net/bluetooth/
H A Dhci_sync.c1095 bdaddr_t nrpa; in hci_update_random_address_sync() local
1102 get_random_bytes(&nrpa, 6); in hci_update_random_address_sync()
1103 nrpa.b[5] &= 0x3f; in hci_update_random_address_sync()
1108 if (bacmp(&hdev->bdaddr, &nrpa)) in hci_update_random_address_sync()
1114 return hci_set_random_addr_sync(hdev, &nrpa); in hci_update_random_address_sync()
6697 bdaddr_t nrpa; in hci_get_random_address() local
6704 get_random_bytes(&nrpa, 6); in hci_get_random_address()
6705 nrpa.b[5] &= 0x3f; in hci_get_random_address()
6710 if (bacmp(&hdev->bdaddr, &nrpa)) in hci_get_random_address()
6715 bacpy(rand_addr, &nrpa); in hci_get_random_address()