Bluetooth: hci_raw: Fix ECC support
When the ECC code was last time refactored hci_raw.c was forgotten about. This fixes the issue so that ECC works again with hci_raw. Change-Id: I1b1df66f1b2a311db611b9936ec074c88caf4143 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
fd09c4aacf
commit
ac9a2398d8
1 changed files with 4 additions and 0 deletions
|
@ -109,6 +109,10 @@ int bt_send(struct net_buf *buf)
|
|||
|
||||
bt_monitor_send(bt_monitor_opcode(buf), buf->data, buf->len);
|
||||
|
||||
if (IS_ENABLED(CONFIG_BLUETOOTH_TINYCRYPT_ECC)) {
|
||||
return bt_hci_ecc_send(buf);
|
||||
}
|
||||
|
||||
return bt_dev.drv->send(buf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue