public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] audio: Fix typos in A2DP error messages
@ 2025-09-15  7:55 Per Waagø
  2025-09-15  8:04 ` Bastien Nocera
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Per Waagø @ 2025-09-15  7:55 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Per Waagø

---
 doc/org.bluez.MediaEndpoint.rst | 8 ++++----
 profiles/audio/a2dp.c           | 8 ++++----
 profiles/audio/a2dp.h           | 8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/doc/org.bluez.MediaEndpoint.rst b/doc/org.bluez.MediaEndpoint.rst
index bbe00b637..c1ce1d562 100644
--- a/doc/org.bluez.MediaEndpoint.rst
+++ b/doc/org.bluez.MediaEndpoint.rst
@@ -69,11 +69,11 @@ Possible errors for A2DP endpoints:
 	:org.bluez.Error.A2DP.NotSupportedMinimumBitpoolValue:
 	:org.bluez.Error.A2DP.InvalidMaximumBitpoolValue:
 	:org.bluez.Error.A2DP.NotSupportedMaximumBitpoolValue:
-	:org.bluez.Error.A2DP.InvalidInvalidLayer:
+	:org.bluez.Error.A2DP.InvalidLayer:
 	:org.bluez.Error.A2DP.NotSupportedLayer:
-	:org.bluez.Error.A2DP.NotSupporterdCRC:
-	:org.bluez.Error.A2DP.NotSupporterdMPF:
-	:org.bluez.Error.A2DP.NotSupporterdVBR:
+	:org.bluez.Error.A2DP.NotSupportedCRC:
+	:org.bluez.Error.A2DP.NotSupportedMPF:
+	:org.bluez.Error.A2DP.NotSupportedVBR:
 	:org.bluez.Error.A2DP.InvalidBitRate:
 	:org.bluez.Error.A2DP.NotSupportedBitRate:
 	:org.bluez.Error.A2DP.InvalidObjectType:
diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
index 661843a89..6661a95d2 100644
--- a/profiles/audio/a2dp.c
+++ b/profiles/audio/a2dp.c
@@ -183,11 +183,11 @@ static struct a2dp_error config_errors[] = {
 	{"InvalidMaximumBitpoolValue", A2DP_INVALID_MAXIMUM_BITPOOL_VALUE},
 	{"NotSupportedMaximumBitpoolValue",
 				A2DP_NOT_SUPPORTED_MAXIMUM_BITPOOL_VALUE},
-	{"InvalidInvalidLayer", A2DP_INVALID_INVALID_LAYER},
+	{"InvalidLayer", A2DP_INVALID_LAYER},
 	{"NotSupportedLayer", A2DP_NOT_SUPPORTED_LAYER},
-	{"NotSupporterdCRC", A2DP_NOT_SUPPORTERD_CRC},
-	{"NotSupporterdMPF", A2DP_NOT_SUPPORTERD_MPF},
-	{"NotSupporterdVBR", A2DP_NOT_SUPPORTERD_VBR},
+	{"NotSupportedCRC", A2DP_NOT_SUPPORTED_CRC},
+	{"NotSupportedMPF", A2DP_NOT_SUPPORTED_MPF},
+	{"NotSupportedVBR", A2DP_NOT_SUPPORTED_VBR},
 	{"InvalidBitRate", A2DP_INVALID_BIT_RATE},
 	{"NotSupportedBitRate", A2DP_NOT_SUPPORTED_BIT_RATE},
 	{"InvalidObjectType", A2DP_INVALID_OBJECT_TYPE},
diff --git a/profiles/audio/a2dp.h b/profiles/audio/a2dp.h
index bcdb4d43f..e742b5dfc 100644
--- a/profiles/audio/a2dp.h
+++ b/profiles/audio/a2dp.h
@@ -102,11 +102,11 @@ enum a2dp_error_codes {
 	A2DP_NOT_SUPPORTED_MINIMUM_BITPOOL_VALUE = 0xcc,
 	A2DP_INVALID_MAXIMUM_BITPOOL_VALUE = 0xcd,
 	A2DP_NOT_SUPPORTED_MAXIMUM_BITPOOL_VALUE = 0xce,
-	A2DP_INVALID_INVALID_LAYER = 0xcf,
+	A2DP_INVALID_LAYER = 0xcf,
 	A2DP_NOT_SUPPORTED_LAYER = 0xd0,
-	A2DP_NOT_SUPPORTERD_CRC = 0xd1,
-	A2DP_NOT_SUPPORTERD_MPF = 0xd2,
-	A2DP_NOT_SUPPORTERD_VBR = 0xd3,
+	A2DP_NOT_SUPPORTED_CRC = 0xd1,
+	A2DP_NOT_SUPPORTED_MPF = 0xd2,
+	A2DP_NOT_SUPPORTED_VBR = 0xd3,
 	A2DP_INVALID_BIT_RATE = 0xd4,
 	A2DP_NOT_SUPPORTED_BIT_RATE = 0xd5,
 	A2DP_INVALID_OBJECT_TYPE = 0xd6,
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-09-15 13:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-15  7:55 [PATCH BlueZ] audio: Fix typos in A2DP error messages Per Waagø
2025-09-15  8:04 ` Bastien Nocera
2025-09-15  9:18 ` [BlueZ] " bluez.test.bot
2025-09-15 13:40 ` [PATCH BlueZ] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox