From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> If A2DP is disconnected also disconnect AVRCP. --- android/a2dp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/a2dp.c b/android/a2dp.c index 962e7f5..731fa16 100644 --- a/android/a2dp.c +++ b/android/a2dp.c @@ -227,6 +227,8 @@ static void bt_a2dp_notify_state(struct a2dp_device *dev, uint8_t state) if (state != HAL_A2DP_STATE_DISCONNECTED) return; + bt_avrcp_disconnect(&dev->dst); + a2dp_device_free(dev); } -- 1.8.5.3 -- 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