5517893543
Declaring these as const lets the linker generate more optimal code. Some extra care is needed with hci_ecc.c since it was overwriting the send callback. Now the choice of send() call is done directly in the bt_send() function Change-Id: Iac74f5ee9bee097bbb34c11bd13d1d886700f5cc Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
11 lines
197 B
C
11 lines
197 B
C
/* hci_ecc.h - HCI ECC emulation */
|
|
|
|
/*
|
|
* Copyright (c) 2016 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
void bt_hci_ecc_init(void);
|
|
int bt_hci_ecc_send(struct net_buf *buf);
|