From patchwork Fri Jul 24 14:03:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Nosthoff X-Patchwork-Id: 11683383 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EC548722 for ; Fri, 24 Jul 2020 14:03:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D469520714 for ; Fri, 24 Jul 2020 14:03:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=heine.so header.i=@heine.so header.b="uDjBSJ1t" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726639AbgGXODe (ORCPT ); Fri, 24 Jul 2020 10:03:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726503AbgGXODe (ORCPT ); Fri, 24 Jul 2020 10:03:34 -0400 Received: from mail.heine.tech (mail.heine.tech [IPv6:2a01:4f8:1c0c:5073::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FAE6C0619D3 for ; Fri, 24 Jul 2020 07:03:34 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 9CF6F18195B; Fri, 24 Jul 2020 16:03:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heine.so; s=dkim; t=1595599412; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=cEfrmMdVZeDh7tMtlkG2VgNmjYIH82n1oXbtmmXnWH0=; b=uDjBSJ1tAN7zYO8hP+Wl/lIAP/XPUo9hEbhX2QaAKYTiUSiifceShxCy48CAgdw/xFfW7z 8arwTjPqPi9+dVoLuST93TbV3Saf73sw+SCmMTTO0FjClSaFV6GoFlosGOzN7xcsOWe8xJ 4ef8YHy6+wahy4Dl6qsuBTtYMwNShOA= From: Michael Nosthoff To: linux-bluetooth@vger.kernel.org Cc: Michael Nosthoff Subject: [PATCH BlueZ v2] main: add missing comma after AlwaysPairable Date: Fri, 24 Jul 2020 16:03:06 +0200 Message-Id: <20200724140305.111507-1-committed@heine.so> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org 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",