The svc connection helper functions should not assume that all dynamic
connections will have a bundle.
This is needed as the control bundle is going away.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
if (gb_connection_is_static(connection))
return 0;
- intf = connection->bundle->intf;
+ intf = connection->intf;
ret = gb_svc_connection_create(hd->svc,
hd->svc->ap_intf_id,
connection->hd_cport_id,
gb_svc_connection_destroy(connection->hd->svc,
connection->hd->svc->ap_intf_id,
connection->hd_cport_id,
- connection->bundle->intf->interface_id,
+ connection->intf->interface_id,
connection->intf_cport_id);
}