Bluetooth: Mesh: Fix Capabilities Status message with OOB upload enabled
The `else` case was incorrectly excluded by preprocessor. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit is contained in:
parent
c67560cbbd
commit
5cf6218c62
1 changed files with 1 additions and 2 deletions
|
@ -233,11 +233,10 @@ static int handle_capabilities_get(struct bt_mesh_model *mod, struct bt_mesh_msg
|
|||
net_buf_simple_add_mem(&rsp, srv->oob_schemes.schemes,
|
||||
srv->oob_schemes.count);
|
||||
} else
|
||||
#else
|
||||
#endif
|
||||
{
|
||||
net_buf_simple_add_u8(&rsp, 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
bt_mesh_model_send(mod, ctx, &rsp, NULL, NULL);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue