zephyr/subsys/bluetooth
Joakim Andersson 0e3586c375 Bluetooth: host: Skip feature testing when legacy adv is disabled
Skip feature testing of controller features when legacy advertising
commands are not supported. For combined builds or builds where the
capability of the controller is known it is not required to have runtime
check of controller extended advertising support.

This gives the following size reduction for hci_core.c:

Without legacy support
hci_core.c  19980     7.75%
total      257679

With legacy support
hci_core.c  21816     8.41%
total      259519

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2020-03-30 00:38:23 +03:00
..
common
controller
host Bluetooth: host: Skip feature testing when legacy adv is disabled 2020-03-30 00:38:23 +03:00
mesh
services
shell Bluetooth: shell: Add shell option to set scan timeout parameter 2020-03-30 00:38:23 +03:00
CMakeLists.txt
Kconfig