client: Make advertise instances default to discoverable
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 7 Apr 2020 00:24:08 +0000 (17:24 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:48 +0000 (14:30 +0530)
The more common case is that advertisements are discoverable not the
other way around.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
client/advertising.c

index 926afd7..87ce048 100644 (file)
@@ -79,6 +79,7 @@ static struct ad {
        bool appearance;
 } ad = {
        .local_appearance = UINT16_MAX,
+       .discoverable = true,
 };
 
 static void ad_release(DBusConnection *conn)