Diff between 69ccc52efbff3f4862d1badd66ae5e593c547346 and e21de8732f4d8d85df9df01a1196be46ff38d7fa
Changed Files
| File | Additions | Deletions | Status |
| android/health.c | +1 | -0 | modified |
Full Patch
diff --git a/android/health.c b/android/health.c
index f4edc3e..f86fd26 100644
--- a/android/health.c
+++ b/android/health.c
@@ -1978,6 +1978,7 @@ static void bt_health_connect_channel(const void *buf, uint16_t len)
return;
fail:
+ queue_remove(channel->dev->channels, channel);
free_health_channel(channel);
ipc_send_rsp(hal_ipc, HAL_SERVICE_ID_HEALTH,
HAL_OP_HEALTH_CONNECT_CHANNEL, HAL_STATUS_FAILED);