Commit 59832931 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

greybus: svc: fix version response

The SVC-protocol driver currently accepts the version offered by the
SVC, but still responded with a hard-coded version.
Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent c09db182
......@@ -278,8 +278,9 @@ static int gb_svc_version_request(struct gb_operation *op)
}
version = op->response->payload;
version->major = GB_SVC_VERSION_MAJOR;
version->minor = GB_SVC_VERSION_MINOR;
version->major = connection->module_major;
version->minor = connection->module_minor;
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment