Bluetooth: Mesh: Extended advertiser should build without relay
The extended advertiser would fail to build due to a missing kconfig option dependency when relay was disabled. Fixes #43172. Signed-off-by: Trond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no>
This commit is contained in:
parent
79ca39b60b
commit
b6993b0837
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@
|
|||
/* Convert from ms to 0.625ms units */
|
||||
#define ADV_INT_FAST_MS 20
|
||||
|
||||
#ifndef CONFIG_BT_MESH_RELAY_ADV_SETS
|
||||
#define CONFIG_BT_MESH_RELAY_ADV_SETS 0
|
||||
#endif
|
||||
|
||||
enum {
|
||||
/** Controller is currently advertising */
|
||||
ADV_FLAG_ACTIVE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue