summaryrefslogtreecommitdiff
path: root/android/hal-a2dp.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-03-03 00:50:43 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-03-04 10:18:27 +0100
commit412f893256235664c34efc03f57b40b6382d0923 (patch)
tree49593deb54b6a09535ad393ca28cfe73a46bda0c /android/hal-a2dp.c
parent68cc1c56850a3bc2803b62ce3e022ec6757c29ae (diff)
downloadbluez-412f893256235664c34efc03f57b40b6382d0923.tar.gz
android/hal: Update services register commands with mode parameter
Diffstat (limited to 'android/hal-a2dp.c')
-rw-r--r--android/hal-a2dp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/hal-a2dp.c b/android/hal-a2dp.c
index c8989957d..ac495a108 100644
--- a/android/hal-a2dp.c
+++ b/android/hal-a2dp.c
@@ -109,6 +109,7 @@ static bt_status_t init(btav_callbacks_t *callbacks)
sizeof(ev_handlers)/sizeof(ev_handlers[0]));
cmd.service_id = HAL_SERVICE_ID_A2DP;
+ cmd.mode = HAL_MODE_DEFAULT;
ret = hal_ipc_cmd(HAL_SERVICE_ID_CORE, HAL_OP_REGISTER_MODULE,
sizeof(cmd), &cmd, 0, NULL, NULL);