diff mbox series

[BlueZ,1/1] adapter: Emit PropertiesChanged signal for Connectable as well

Message ID 20250212165820.179487-1-vibhavp@gmail.com
State New
Headers show
Series [BlueZ,1/1] adapter: Emit PropertiesChanged signal for Connectable as well | expand

Commit Message

Vibhav Pant Feb. 12, 2025, 4:58 p.m. UTC
---
 src/adapter.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

bluez.test.bot@gmail.com Feb. 12, 2025, 6:09 p.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=933274

---Test result---

Test Summary:
CheckPatch                    PENDING   0.17 seconds
GitLint                       PENDING   0.19 seconds
BuildEll                      PASS      20.59 seconds
BluezMake                     PASS      1547.01 seconds
MakeCheck                     PASS      13.33 seconds
MakeDistcheck                 PASS      159.52 seconds
CheckValgrind                 PASS      214.82 seconds
CheckSmatch                   PASS      285.50 seconds
bluezmakeextell               PASS      98.71 seconds
IncrementalBuild              PENDING   0.26 seconds
ScanBuild                     PASS      870.26 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:



---
Regards,
Linux Bluetooth
patchwork-bot+bluetooth@kernel.org Feb. 13, 2025, 6:40 p.m. UTC | #2
Hello:

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

On Wed, 12 Feb 2025 22:28:20 +0530 you wrote:
> ---
>  src/adapter.c | 3 +++
>  1 file changed, 3 insertions(+)

Here is the summary with links:
  - [BlueZ,1/1] adapter: Emit PropertiesChanged signal for Connectable as well
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=f003b90d57b5

You are awesome, thank you!
diff mbox series

Patch

diff --git a/src/adapter.c b/src/adapter.c
index 5d4117a49..c899f9d42 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -645,6 +645,9 @@  static void settings_changed(struct btd_adapter *adapter, uint32_t settings)
 			store_adapter_info(adapter);
 		btd_adv_manager_refresh(adapter->adv_manager);
 	}
+	if (changed_mask & MGMT_SETTING_CONNECTABLE)
+		g_dbus_emit_property_changed(dbus_conn, adapter->path,
+					     ADAPTER_INTERFACE, "Connectable");
 
 	if (changed_mask & MGMT_SETTING_BONDABLE) {
 		g_dbus_emit_property_changed(dbus_conn, adapter->path,