[bluez/bluez] d6f27b: client: Avoid scan prompt when discovery is alread...
z4pdy <[email protected]>
| Newsgroups | org.kernel.vger.linux-bluetooth |
|---|---|
| Message-ID | <bluez/bluez/push/refs/heads/1142780/[email protected]> |
Branch: refs/heads/1142780
Home: https://github.com/bluez/bluez
Commit: d6f27b0adfa316bb060073640bb784619634f30f
https://github.com/bluez/bluez/commit/d6f27b0adfa316bb060073640bb784619634f30f
Author: z4pdy <[email protected]>
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