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:
Vinayak Kariappa Chettimada 2021-09-28 06:09:13 +05:30 committed by Christopher Friedt
commit aa4b75b58c
10 changed files with 36 additions and 45 deletions

View file

@ -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)