Bluetooth: Add common Kconfig option to disable PHY Update

This adds common option to disable support for PHY Update
procedure in controller and host.
This will reduce flash usage by compiling out le_phy_update_complete
event handler that will never be called if controller has been
compiled with BT_CTLR_PHY option disabled.

Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
This commit is contained in:
Mariusz Skamra 2018-11-21 10:52:18 +01:00 committed by Anas Nashif
commit be314d3af5
23 changed files with 37 additions and 25 deletions

View file

@ -258,6 +258,7 @@ config BT_ATT_TX_MAX
config BT_AUTO_PHY_UPDATE
bool "Auto-initiate PHY Update Procedure"
depends on BT_PHY_UPDATE
default y
help
Initiate PHY Update Procedure on connection establishment.