gb_module_interface_init() looks for the interface corresponding
to the supplied interface_id, but fails to configure the
device_id that goes with it. This results in a set route command
being set with an uninitialized and bogus value. Fix it.
Signed-off-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
interface_id);
return -ENOENT;
}
+ interface->device_id = device_id;
ret = svc_set_route_send(interface, gmod->hd);
if (ret) {