Commit 5f8168d5 authored by Anders Storrø's avatar Anders Storrø Committed by Carles Cufi
Browse files

Bluetooth: Mesh: Health_cli: Fix fault test rsp



Swaps response scheme for Fault_test command so that it
aligns with description of the documentation.

Signed-off-by: default avatarAnders Storrø <anders.storro@nordicsemi.no>
parent 649a6250
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -455,7 +455,7 @@ int bt_mesh_health_cli_fault_test(struct bt_mesh_health_cli *cli, struct bt_mesh
	net_buf_simple_add_le16(&msg, cid);

	return model_ackd_send(cli->model, ctx, &msg,
			       (!faults || !fault_count) ? &cli->ack_ctx : NULL,
			       (!faults || !fault_count) ? NULL : &cli->ack_ctx,
			       OP_HEALTH_FAULT_STATUS, &param);
}