Linux bluetooth development
 help / color / mirror / Atom feed
From: z4pdy <noreply@github.com>
To: linux-bluetooth@vger.kernel.org
Subject: [bluez/bluez] d6f27b: client: Avoid scan prompt when discovery is alread...
Date: Sat, 08 Aug 2026 13:40:32 -0700	[thread overview]
Message-ID: <bluez/bluez/push/refs/heads/1142780/000000-d6f27b@github.com> (raw)

  Branch: refs/heads/1142780
  Home:   https://github.com/bluez/bluez
  Commit: d6f27b0adfa316bb060073640bb784619634f30f
      https://github.com/bluez/bluez/commit/d6f27b0adfa316bb060073640bb784619634f30f
  Author: z4pdy <305461556+z4pdy@users.noreply.github.com>
  Date:   2026-08-08 (Sat, 08 Aug 2026)

  Changed paths:
    M client/main.c

  Log Message:
  -----------
  client: Avoid scan prompt when discovery is already active

Check the adapter's Discovering property before prompting the user
to start scanning. This avoids prompting to scan when discovery is
already in progress, which previously resulted
in an org.bluez.Error.InProgress error.

Changes in v2:
- Move variable declarations to the beginning of cmd_connect()
to fix the ISO C90 build failure.



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications

                 reply	other threads:[~2026-08-08 20:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=bluez/bluez/push/refs/heads/1142780/000000-d6f27b@github.com \
    --to=noreply@github.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