Diff between 347c4ba51219e2070ad5a3d005cf6bc5d431eaa3 and c09f4ba7397643a7b9c1ed1975a9002398834423

Changed Files

File Additions Deletions Status
android/hal-gatt.c +1 -0 modified

Full Patch

diff --git a/android/hal-gatt.c b/android/hal-gatt.c
index d8c0d54..6fde143 100644
--- a/android/hal-gatt.c
+++ b/android/hal-gatt.c
@@ -1264,6 +1264,7 @@ static bt_status_t init(const btgatt_callbacks_t *callbacks)
 				sizeof(ev_handlers)/sizeof(ev_handlers[0]));
 
 	cmd.service_id = HAL_SERVICE_ID_GATT;
+	cmd.mode = HAL_MODE_DEFAULT;
 
 	ret = hal_ipc_cmd(HAL_SERVICE_ID_CORE, HAL_OP_REGISTER_MODULE,
 					sizeof(cmd), &cmd, 0, NULL, NULL);