linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: [PATCH BlueZ] gatt: Register GATT and GAP services as SDP records
Date: Wed, 5 Dec 2018 14:09:59 +0200	[thread overview]
Message-ID: <CABBYNZ+3PmJv98iY7UHLZJTS5rquaJeh71DsdtAFuyyqDkoOwQ@mail.gmail.com> (raw)
In-Reply-To: <20181204194429.13829-1-luiz.dentz@gmail.com>

Hi,

On Tue, Dec 4, 2018 at 9:44 PM Luiz Augusto von Dentz
<luiz.dentz@gmail.com> wrote:
>
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> This ensures that GATT and GAP services can be discover over SDP as well
> as over GATT.
> ---
>  src/gatt-database.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/src/gatt-database.c b/src/gatt-database.c
> index c31afa0e9..2c2f035b1 100644
> --- a/src/gatt-database.c
> +++ b/src/gatt-database.c
> @@ -847,6 +847,8 @@ static void populate_gap_service(struct btd_gatt_database *database)
>                                                         NULL, database);
>
>         gatt_db_service_set_active(service, true);
> +
> +       database_add_record(database, service);
>  }
>
>  static void gatt_ccc_read_cb(struct gatt_db_attribute *attrib,
> @@ -1071,6 +1073,8 @@ static void populate_gatt_service(struct btd_gatt_database *database)
>                                                                         NULL);
>
>         gatt_db_service_set_active(service, true);
> +
> +       database_add_record(database, service);
>  }
>
>  static void register_core_services(struct btd_gatt_database *database)
> --
> 2.17.2

Applied.

-- 
Luiz Augusto von Dentz

      reply	other threads:[~2018-12-05 12:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-04 19:44 [PATCH BlueZ] gatt: Register GATT and GAP services as SDP records Luiz Augusto von Dentz
2018-12-05 12:09 ` Luiz Augusto von Dentz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABBYNZ+3PmJv98iY7UHLZJTS5rquaJeh71DsdtAFuyyqDkoOwQ@mail.gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).