greybus: svc: create bidirectional routes on hotplug request
authorPerry Hung <perry@leaflabs.com>
Fri, 24 Jul 2015 23:02:32 +0000 (19:02 -0400)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 29 Jul 2015 17:06:18 +0000 (10:06 -0700)
commit7e275465fabd58065ec49c770bd4446f41a13e87
tree6d8503db050ac68768ba428ba8b33f7b4b942653
parente08aaa49df7866c1a786dc01ce4f8a47c6aaa954
greybus: svc: create bidirectional routes on hotplug request

Upon receiving a hotplug request, we need to prepare the routing table
to allow packets to flow between the AP interface and the newly detected
interface.

Tested-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Perry Hung <perry@leaflabs.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/svc.c