nimble/services: Fix incorrect PACS characteristic notification
This commit provides fix for incorrect PACS characteristic sending notification
after changing it's state.
diff --git a/nimble/host/audio/services/pacs/src/ble_audio_svc_pacs.c b/nimble/host/audio/services/pacs/src/ble_audio_svc_pacs.c
index 9b124a5..d91722f 100644
--- a/nimble/host/audio/services/pacs/src/ble_audio_svc_pacs.c
+++ b/nimble/host/audio/services/pacs/src/ble_audio_svc_pacs.c
@@ -385,7 +385,7 @@
if (flags & BLE_AUDIO_CODEC_DIR_SINK_BIT) {
ble_svc_audio_pacs_sink_audio_locations = param->audio_locations;
ble_svc_audio_pacs_sup_sink_contexts = param->supported_contexts;
- rc = pac_notify(BLE_SVC_AUDIO_PACS_CHR_UUID16_SOURCE_AUDIO_LOCATIONS);
+ rc = pac_notify(BLE_SVC_AUDIO_PACS_CHR_UUID16_SINK_AUDIO_LOCATIONS);
if (rc != 0) {
return rc;
}