distribution/packages/network/bluez/patches/bluez-20-sixaxis-autotrust.patch

13 lines
433 B
Diff
Raw Normal View History

2022-03-19 02:16:23 +00:00
diff --git a/plugins/sixaxis.c b/plugins/sixaxis.c
2022-11-19 22:37:57 +00:00
index 9a0aa5d4f..810e33353 100644
2022-02-05 14:23:32 +00:00
--- a/plugins/sixaxis.c
+++ b/plugins/sixaxis.c
2022-11-19 22:37:57 +00:00
@@ -356,6 +356,7 @@ static bool setup_device(int fd, const char *sysfs_path,
2022-02-05 14:23:32 +00:00
else
btd_device_set_pnpid(device, cp->source, cp->vid, cp->pid, cp->version);
+ btd_device_set_trusted(device, true);
btd_device_set_temporary(device, true);
closure = g_new0(struct authentication_closure, 1);