bluez5: reset A2DP codec shared endpoint status on disconnect

This commit is contained in:
Pauli Virtanen 2024-01-29 00:17:05 +02:00
parent 45385b2b66
commit 0c434e4821

View file

@ -1469,6 +1469,7 @@ static void device_clear_sub(struct spa_bt_device *device)
{ {
battery_remove(device); battery_remove(device);
spa_bt_device_release_transports(device); spa_bt_device_release_transports(device);
device->preferred_codec = NULL;
} }
static void device_free(struct spa_bt_device *device) static void device_free(struct spa_bt_device *device)