diff mbox series

[BlueZ,v2] main: add missing comma after AlwaysPairable

Message ID 20200724140305.111507-1-committed@heine.so (mailing list archive)
State New, archived
Headers show
Series [BlueZ,v2] main: add missing comma after AlwaysPairable | expand

Commit Message

Michael Nosthoff July 24, 2020, 2:03 p.m. UTC
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(-)

Comments

Luiz Augusto von Dentz July 27, 2020, 11:15 p.m. UTC | #1
Hi,

On Fri, Jul 24, 2020 at 7:08 AM Michael Nosthoff <committed@heine.so> wrote:
>
> 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(-)
>
> diff --git a/src/main.c b/src/main.c
> index ec7a9fbd7..2c083de67 100644
> --- a/src/main.c
> +++ b/src/main.c
> @@ -79,7 +79,7 @@ static const char *supported_options[] = {
>         "Name",
>         "Class",
>         "DiscoverableTimeout",
> -       "AlwaysPairable"
> +       "AlwaysPairable",
>         "PairableTimeout",
>         "DeviceID",
>         "ReverseServiceDiscovery",
> --
> 2.25.1

Applied, thanks.
diff mbox series

Patch

diff --git a/src/main.c b/src/main.c
index ec7a9fbd7..2c083de67 100644
--- a/src/main.c
+++ b/src/main.c
@@ -79,7 +79,7 @@  static const char *supported_options[] = {
 	"Name",
 	"Class",
 	"DiscoverableTimeout",
-	"AlwaysPairable"
+	"AlwaysPairable",
 	"PairableTimeout",
 	"DeviceID",
 	"ReverseServiceDiscovery",