Bluetooth: Controller: Separate address get and read functions
Have separate Bluetooth Device address get and read functions, remove use of function just to return Extended Advertising Random address and replace with simple assignment statement. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
d7cfb5473b
commit
aa4b75b58c
10 changed files with 36 additions and 45 deletions
|
@ -852,7 +852,7 @@ static void read_bd_addr(struct net_buf *buf, struct net_buf **evt)
|
|||
|
||||
rp->status = 0x00;
|
||||
|
||||
ll_addr_get(0, &rp->bdaddr.val[0]);
|
||||
(void)ll_addr_read(0, &rp->bdaddr.val[0]);
|
||||
}
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_HCI_CODEC_AND_DELAY_INFO)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue