greybus: ap: add svc_set_route_send() command and use it on a link up event
authorMatt Porter <mporter@linaro.org>
Wed, 22 Oct 2014 06:06:09 +0000 (02:06 -0400)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 22 Oct 2014 06:12:17 +0000 (14:12 +0800)
commit060b93ddbb5dedd10bddb61664815752db56a9f3
tree923770893f82e0dbd06976d3ed148c8d51480ee9
parente390b193d6abef0ed3316e3738cbadba8e9c7e17
greybus: ap: add svc_set_route_send() command and use it on a link up event

When the AP receives a link up event, request that the SVC set a
route to the interface's device id (this device id has been
previously reported to the AP). In the future, we may not always
immediately set a route upon receiving a link up event but this
is sufficient for the known use cases at this time.

Signed-off-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/ap.c