Skip to content

Commit c60135a

Browse files
PavelVPVcvinayak
authored andcommitted
[nrf fromtree] Bluetooth: Mesh: Fix Capabilities Status message with OOB upload enabled
The `else` case was incorrectly excluded by preprocessor. Signed-off-by: Pavel Vasilyev <[email protected]> (cherry picked from commit 5cf6218) Signed-off-by: Alperen Şener <[email protected]>
1 parent 86c95f4 commit c60135a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

subsys/bluetooth/mesh/dfd_srv.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,10 @@ static int handle_capabilities_get(struct bt_mesh_model *mod, struct bt_mesh_msg
233233
net_buf_simple_add_mem(&rsp, srv->oob_schemes.schemes,
234234
srv->oob_schemes.count);
235235
} else
236-
#else
236+
#endif
237237
{
238238
net_buf_simple_add_u8(&rsp, 0);
239239
}
240-
#endif
241240

242241
bt_mesh_model_send(mod, ctx, &rsp, NULL, NULL);
243242

0 commit comments

Comments
 (0)