[Spice-devel] [PATCH usbredir 6/8] Implement a disconnect function.
Jeremy White
jwhite at codeweavers.com
Wed Dec 9 14:16:06 PST 2015
Signed-off-by: Jeremy White <jwhite at codeweavers.com>
---
kernel/redir.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/kernel/redir.c b/kernel/redir.c
index 0c71aee..26ab373 100644
--- a/kernel/redir.c
+++ b/kernel/redir.c
@@ -208,7 +208,8 @@ static void redir_device_connect(void *priv,
static void redir_device_disconnect(void *priv)
{
- TODO_IMPLEMENT;
+ struct usbredir_device *udev = (struct usbredir_device *) priv;
+ usbredir_device_disconnect(udev);
}
static void redir_reset(void *priv)
--
2.1.4
More information about the Spice-devel
mailing list