diff options
author | Joerie de Gram <j.de.gram@gmail.com> | 2011-10-28 13:38:23 +0200 |
---|---|---|
committer | Joerie de Gram <j.de.gram@gmail.com> | 2011-10-28 13:53:28 +0200 |
commit | 2b9aa23db0b9c0f395abca551414a3c3ecb6d63d (patch) | |
tree | 4a3c066a2f21692cde8f5ce70ef0cc88801a7d72 /tools | |
parent | 90b3b7de324debfec19829bcd77df5d8b8fba381 (diff) | |
download | external_libsamsung-ipc-2b9aa23db0b9c0f395abca551414a3c3ecb6d63d.zip external_libsamsung-ipc-2b9aa23db0b9c0f395abca551414a3c3ecb6d63d.tar.gz external_libsamsung-ipc-2b9aa23db0b9c0f395abca551414a3c3ecb6d63d.tar.bz2 |
split devices, require compile-time device selection
Diffstat (limited to 'tools')
-rw-r--r-- | tools/modemctrl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/modemctrl.c b/tools/modemctrl.c index 4460f7d..4109d9f 100644 --- a/tools/modemctrl.c +++ b/tools/modemctrl.c @@ -82,7 +82,7 @@ int modem_start(struct ipc_client *client) { int rc; - ipc_client_set_handlers(client, &crespo_ipc_default_handlers); + ipc_client_set_handlers(client, &ipc_default_handlers); ipc_client_bootstrap_modem(client); rc = ipc_client_power_on(client); @@ -116,8 +116,8 @@ int main(int argc, char *argv[]) exit(1); } - crespo_fmt_client = ipc_client_new(IPC_CLIENT_TYPE_CRESPO_FMT); - crespo_rfs_client = ipc_client_new(IPC_CLIENT_TYPE_CRESPO_RFS); + crespo_fmt_client = ipc_client_new(IPC_CLIENT_TYPE_FMT); + crespo_rfs_client = ipc_client_new(IPC_CLIENT_TYPE_RFS); if (!strncmp(argv[1], "power-on", sizeof("power-on"))) { ipc_client_power_on(crespo_fmt_client); |