diff mbox series

[BlueZ,1/2] adapter: Be able to use ConnectDevice for discovered devices

Message ID 20230731041229.1429016-1-simon.mikuda@streamunlimited.com
State New
Headers show
Series [BlueZ,1/2] adapter: Be able to use ConnectDevice for discovered devices | expand

Commit Message

Simon Mikuda July 31, 2023, 4:12 a.m. UTC
This can be useful when you want to specify trasport type for already
paired device (e.g. use LE transport for dual mode device).
---
 src/adapter.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

bluez.test.bot@gmail.com July 31, 2023, 6:04 a.m. UTC | #1
This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=771001

---Test result---

Test Summary:
CheckPatch                    PASS      0.82 seconds
GitLint                       PASS      0.57 seconds
BuildEll                      PASS      28.69 seconds
BluezMake                     PASS      1057.60 seconds
MakeCheck                     PASS      11.91 seconds
MakeDistcheck                 PASS      164.87 seconds
CheckValgrind                 PASS      267.45 seconds
CheckSmatch                   PASS      397.75 seconds
bluezmakeextell               PASS      118.45 seconds
IncrementalBuild              PASS      1912.31 seconds
ScanBuild                     PASS      1276.43 seconds



---
Regards,
Linux Bluetooth
patchwork-bot+bluetooth@kernel.org July 31, 2023, 5:50 p.m. UTC | #2
Hello:

This series was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Mon, 31 Jul 2023 06:12:28 +0200 you wrote:
> This can be useful when you want to specify trasport type for already
> paired device (e.g. use LE transport for dual mode device).
> ---
>  src/adapter.c | 3 ---
>  1 file changed, 3 deletions(-)

Here is the summary with links:
  - [BlueZ,1/2] adapter: Be able to use ConnectDevice for discovered devices
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=caf7db313e9d
  - [BlueZ,2/2] adapter: Update ConnectDevice documentation
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=255ef572ca76

You are awesome, thank you!
diff mbox series

Patch

diff --git a/src/adapter.c b/src/adapter.c
index 2679d4302..17f4a637d 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -3763,9 +3763,6 @@  static DBusMessage *connect_device(DBusConnection *conn,
 	if (!bacmp(&addr, BDADDR_ANY))
 		return btd_error_invalid_args(msg);
 
-	if (btd_adapter_find_device(adapter, &addr, addr_type))
-		return btd_error_already_exists(msg);
-
 	device_connect(adapter, &addr, addr_type, msg);
 	return NULL;
 }