diff options
Diffstat (limited to 'samsung-ipc/ipc.c')
-rw-r--r-- | samsung-ipc/ipc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/samsung-ipc/ipc.c b/samsung-ipc/ipc.c index 511d7d8..77e5d97 100644 --- a/samsung-ipc/ipc.c +++ b/samsung-ipc/ipc.c @@ -29,7 +29,8 @@ #include "ipc_private.h" -extern struct ipc_ops ipc_ops; +extern struct ipc_ops ipc_fmt_ops; +extern struct ipc_ops ipc_rfs_ops; extern struct ipc_handlers ipc_default_handlers; void log_handler_default(const char *message, void *user_data) @@ -58,8 +59,10 @@ struct ipc_client* ipc_client_new(int client_type) switch (client_type) { case IPC_CLIENT_TYPE_FMT: + ops = &ipc_fmt_ops; + break; case IPC_CLIENT_TYPE_RFS: - ops = &ipc_ops; + ops = &ipc_rfs_ops; break; default: return NULL; |