summaryrefslogtreecommitdiff
path: root/android/hal-a2dp.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-07-01 14:06:36 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-07-03 11:41:05 +0300
commit697110ce07ff6fe890b0ebce5476a37947b78d88 (patch)
tree4a50fe8e63d42a810a1ec0038c29deff2d0677e2 /android/hal-a2dp.c
parente0d8e36781731d1f0793bab314cdf382b59fe307 (diff)
downloadbluez-697110ce07ff6fe890b0ebce5476a37947b78d88.tar.gz
android: Fix using plain integer as NULL pointer
Diffstat (limited to 'android/hal-a2dp.c')
-rw-r--r--android/hal-a2dp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/hal-a2dp.c b/android/hal-a2dp.c
index 87aebde8c..7d3a65132 100644
--- a/android/hal-a2dp.c
+++ b/android/hal-a2dp.c
@@ -108,7 +108,7 @@ static bt_status_t init(btav_callbacks_t *callbacks)
cmd.mode = HAL_MODE_DEFAULT;
ret = hal_ipc_cmd(HAL_SERVICE_ID_CORE, HAL_OP_REGISTER_MODULE,
- sizeof(cmd), &cmd, 0, NULL, NULL);
+ sizeof(cmd), &cmd, NULL, NULL, NULL);
if (ret != BT_STATUS_SUCCESS) {
cbs = NULL;
@@ -132,7 +132,7 @@ static void cleanup()
cmd.service_id = HAL_SERVICE_ID_A2DP;
hal_ipc_cmd(HAL_SERVICE_ID_CORE, HAL_OP_UNREGISTER_MODULE,
- sizeof(cmd), &cmd, 0, NULL, NULL);
+ sizeof(cmd), &cmd, NULL, NULL, NULL);
hal_ipc_unregister(HAL_SERVICE_ID_A2DP);
}