--- android/health.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/android/health.c b/android/health.c index e188683..09b55ff 100644 --- a/android/health.c +++ b/android/health.c @@ -1877,10 +1877,7 @@ static void search_cb(sdp_list_t *recs, int err, gpointer data) return; fail: - send_channel_state_notify(channel, HAL_HEALTH_CHANNEL_DESTROYED, -1); - - queue_remove(channel->dev->channels, channel); - free_health_channel(channel); + destroy_channel(channel); } static int connect_mcl(struct health_channel *channel) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html