diff mbox series

[BlueZ] client: Make advertise instances default to discoverable

Message ID 20200407002543.19984-1-luiz.dentz@gmail.com (mailing list archive)
State Accepted
Headers show
Series [BlueZ] client: Make advertise instances default to discoverable | expand

Commit Message

Luiz Augusto von Dentz April 7, 2020, 12:25 a.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

The more common case is that advertisements are discoverable not the
other way around.
---
 client/advertising.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/client/advertising.c b/client/advertising.c
index afc8754df..94eb616b2 100644
--- a/client/advertising.c
+++ b/client/advertising.c
@@ -80,6 +80,7 @@  static struct ad {
 	bool appearance;
 } ad = {
 	.local_appearance = UINT16_MAX,
+	.discoverable = true,
 };
 
 static void ad_release(DBusConnection *conn)