* [PATCH] adapter: Remove spurious propery change signal
@ 2018-02-08 16:03 Szymon Janc
2018-02-09 14:39 ` Szymon Janc
0 siblings, 1 reply; 2+ messages in thread
From: Szymon Janc @ 2018-02-08 16:03 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Szymon Janc
There is no "Connectable" property on Adapter1 interface.
---
src/adapter.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/adapter.c b/src/adapter.c
index 50cf46b11..93e36d00d 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -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");
--
2.14.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] adapter: Remove spurious propery change signal
2018-02-08 16:03 [PATCH] adapter: Remove spurious propery change signal Szymon Janc
@ 2018-02-09 14:39 ` Szymon Janc
0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2018-02-09 14:39 UTC (permalink / raw)
To: linux-bluetooth
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(-)
>
> diff --git a/src/adapter.c b/src/adapter.c
> index 50cf46b11..93e36d00d 100644
> --- a/src/adapter.c
> +++ b/src/adapter.c
> @@ -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.
--
pozdrawiam
Szymon Janc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-02-09 14:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-08 16:03 [PATCH] adapter: Remove spurious propery change signal Szymon Janc
2018-02-09 14:39 ` Szymon Janc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).