summaryrefslogtreecommitdiff
path: root/android/test-ipc.c
diff options
context:
space:
mode:
authorJakub Tyszkowski <jakub.tyszkowski@tieto.com>2014-02-04 15:39:00 +0100
committerSzymon Janc <szymon.janc@gmail.com>2014-02-04 21:35:10 +0100
commitcca001f942f26b47e28d9ed7c5d3f40c6ca03251 (patch)
treee25fe2dabf97a3a32d953697c555ac7c60580114 /android/test-ipc.c
parentaeed33339cf73e30de28dee2504f90ec169145c6 (diff)
downloadbluez-cca001f942f26b47e28d9ed7c5d3f40c6ca03251.tar.gz
android/unit: Rename cmd handler
This handler responses for opcode == 1, thus should use proper naming to avoid confision when more functions sending different responses will be added.
Diffstat (limited to 'android/test-ipc.c')
-rw-r--r--android/test-ipc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/test-ipc.c b/android/test-ipc.c
index d0f3f6b81..8e3150781 100644
--- a/android/test-ipc.c
+++ b/android/test-ipc.c
@@ -363,7 +363,7 @@ static void test_cmd_reg_1(gconstpointer data)
ipc_cleanup();
}
-static void test_cmd_handler(const void *buf, uint16_t len)
+static void test_cmd_handler_1(const void *buf, uint16_t len)
{
ipc_send_rsp(0, 1, 0);
}
@@ -383,7 +383,7 @@ static const struct test_data test_cmd_service_invalid_1 = {
};
static const struct ipc_handler cmd_handlers[] = {
- { test_cmd_handler, false, 0 }
+ { test_cmd_handler_1, false, 0 }
};
static const struct test_data test_cmd_service_valid_1 = {