Bluetooth: controller: Replace use if LL_FEAT with ll_feat_get()
Replace the use of LL_FEAT define with ll_feat_get() so that feature set value can be updated at runtime with host feature bit values. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
c1080f3ceb
commit
ed59ceba62
7 changed files with 20 additions and 11 deletions
|
@ -1195,7 +1195,7 @@ static void le_read_local_features(struct net_buf *buf, struct net_buf **evt)
|
|||
rp->status = 0x00;
|
||||
|
||||
(void)memset(&rp->features[0], 0x00, sizeof(rp->features));
|
||||
sys_put_le64(LL_FEAT, rp->features);
|
||||
sys_put_le64(ll_feat_get(), rp->features);
|
||||
}
|
||||
|
||||
static void le_set_random_address(struct net_buf *buf, struct net_buf **evt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue