aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2012-01-14 16:56:48 +0100
committerPaulK <contact@paulk.fr>2012-01-14 16:56:48 +0100
commitb469707433b2e306fe80b7da844fa87d284fa571 (patch)
treee4c6b40bfd738fce2304fba01b1a5af17a6b451d /tools
parentbedac849cbc7c5bbcaffa878a2e0c1c3305b25d4 (diff)
downloadexternal_libsamsung-ipc-b469707433b2e306fe80b7da844fa87d284fa571.zip
external_libsamsung-ipc-b469707433b2e306fe80b7da844fa87d284fa571.tar.gz
external_libsamsung-ipc-b469707433b2e306fe80b7da844fa87d284fa571.tar.bz2
Modified handlers with common handlers data and device-specific functions
Diffstat (limited to 'tools')
-rw-r--r--tools/modemctrl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/modemctrl.c b/tools/modemctrl.c
index dc7eaaa..75cfc83 100644
--- a/tools/modemctrl.c
+++ b/tools/modemctrl.c
@@ -440,7 +440,7 @@ int modem_start(struct ipc_client *client)
int rc = -1;
// ipc_client_set_handlers(client, &ipc_default_handlers);
- ipc_client_set_all_handlers_data(client, &client_fd);
+ ipc_client_create_handlers_common_data(client);
ipc_client_bootstrap_modem(client);
@@ -450,6 +450,8 @@ int modem_start(struct ipc_client *client)
if(rc < 0)
return -1;
+ client_fd = ipc_client_get_handlers_common_data_fd(client);
+
rc = ipc_client_power_on(client);
if(rc < 0)
return -1;