Skip to content
Commit 55178935 authored by Johan Hedberg's avatar Johan Hedberg
Browse files

Bluetooth: Make bt_hci_driver instances link-time constants



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: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 61706ca0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment