Skip to contentSkip to conversation

adapter: Remove spurious propery change signal

PATCH Applied Szymon Janc 1 participant 2 messages Feb 8, 2018 – Feb 9, 2018 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 adapter: Remove spurious propery change signal

There is no "Connectable" property on Adapter1 interface.

---
 src/adapter.c | 4 ----
 1 file changed, 4 deletions(-)
src/adapter.c +0 -4
index 50cf46b11..93e36d00d 100644
@@ -535,10 +535,6 @@ static void settings_changed(struct btd_adapter *adapter, uint32_t settings)
 			trigger_passive_scanning(adapter);
 	}
 
-	if (changed_mask & MGMT_SETTING_CONNECTABLE)
-		g_dbus_emit_property_changed(dbus_conn, adapter->path,
-					ADAPTER_INTERFACE, "Connectable");
-
 	if (changed_mask & MGMT_SETTING_DISCOVERABLE) {
 		g_dbus_emit_property_changed(dbus_conn, adapter->path,
 					ADAPTER_INTERFACE, "Discoverable");
Signature · 1 line
2.14.3
author Applied
#1 lore raw
Quoted 10 lines · On Thursday, 8 February 2018 17:03:06 CET Szymon Janc wrote:

There is no "Connectable" property on Adapter1 interface.

---
 src/adapter.c | 4 ----
 1 file changed, 4 deletions(-)
src/adapter.c +0 -0
index 50cf46b11..93e36d00d 100644

src/adapter.c static void settings_changed(struct btd_adapter · line 540

Quoted 10 lines
src/adapter.c +0 -4
@@ -535,10 +535,6 @@ static void settings_changed(struct btd_adapter
 *adapter, uint32_t settings) trigger_passive_scanning(adapter);
 	}
 
-	if (changed_mask & MGMT_SETTING_CONNECTABLE)
-		g_dbus_emit_property_changed(dbus_conn, adapter->path,
-					ADAPTER_INTERFACE, "Connectable");
-
 	if (changed_mask & MGMT_SETTING_DISCOVERABLE) {
 		g_dbus_emit_property_changed(dbus_conn, adapter->path,
 					ADAPTER_INTERFACE, "Discoverable");

Applied.

Signature · 2 lines
pozdrawiam
Szymon Janc