Skip to contentSkip to conversation

main: add missing comma after AlwaysPairable

PATCH Applied Michael Nosthoff 2 participants 2 messages Jul 24, 2020 – Jul 27, 2020 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 main: add missing comma after AlwaysPairable

Commit 1880b2990866 ("core: Add AlwaysPairable to main.conf") added a new key to supported_options but didn't add a comma. This leads to the following error message on startup if the key 'PairableTimeout' is pesent:

Unknown key PairableTimeout for group General in /etc/bluetooth/main.conf

This probably also leads to ignoring the setting.

Fixes 1880b2990866 ("core: Add AlwaysPairable to main.conf")
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/main.c +1 -1
index ec7a9fbd7..2c083de67 100644
@@ -79,7 +79,7 @@ static const char *supported_options[] = {
 	"Name",
 	"Class",
 	"DiscoverableTimeout",
-	"AlwaysPairable"
+	"AlwaysPairable",
 	"PairableTimeout",
 	"DeviceID",
 	"ReverseServiceDiscovery",
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw

Hi,

Quoted 28 lines · Michael Nosthoff

Commit 1880b2990866 ("core: Add AlwaysPairable to main.conf") added a new key to supported_options but didn't add a comma. This leads to the following error message on startup if the key 'PairableTimeout' is pesent:

Unknown key PairableTimeout for group General in /etc/bluetooth/main.conf

This probably also leads to ignoring the setting.

Fixes 1880b2990866 ("core: Add AlwaysPairable to main.conf")
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/main.c +1 -2
index ec7a9fbd7..2c083de67 100644
@@ -79,7 +79,7 @@ static const char *supported_options[] = {
        "Name",
        "Class",
        "DiscoverableTimeout",
-       "AlwaysPairable"
+       "AlwaysPairable",
        "PairableTimeout",
        "DeviceID",
        "ReverseServiceDiscovery",
--
Quoted 1 line

2.25.1

Applied, thanks.

Signature · 1 line
Luiz Augusto von Dentz