All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 1/1] adapter: Emit PropertiesChanged signal for Connectable as well
@ 2025-02-12 16:58 Vibhav Pant
  2025-02-12 18:09 ` [BlueZ,1/1] " bluez.test.bot
  2025-02-13 18:40 ` [PATCH BlueZ 1/1] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Vibhav Pant @ 2025-02-12 16:58 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Vibhav Pant

---
 src/adapter.c | 3 +++
 1 file changed, 3 insertions(+)

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,
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-02-13 18:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-12 16:58 [PATCH BlueZ 1/1] adapter: Emit PropertiesChanged signal for Connectable as well Vibhav Pant
2025-02-12 18:09 ` [BlueZ,1/1] " bluez.test.bot
2025-02-13 18:40 ` [PATCH BlueZ 1/1] " patchwork-bot+bluetooth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.