From 231ac1cab96dadd32d46430ee1d9f8a930f5a6bd Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Wed, 8 Jan 2014 01:02:22 +0100 Subject: [PATCH] sixaxis: Don't mark USB plugged device as trusted There were some valid conserns raised against marking plugged device as trusted. Mainly due to posibility of crafted USB device. With this patch user will be asked to confirm service connection and device can be marked as trusted like any other devices. --- plugins/sixaxis.c | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/sixaxis.c b/plugins/sixaxis.c index 1154c1534..4fdeff350 100644 --- a/plugins/sixaxis.c +++ b/plugins/sixaxis.c @@ -228,7 +228,6 @@ static bool setup_device(int fd, int index, struct btd_adapter *adapter) btd_device_set_pnpid(device, devices[index].source, devices[index].vid, devices[index].pid, devices[index].version); btd_device_set_temporary(device, FALSE); - btd_device_set_trusted(device, TRUE); return true; } -- 2.47.3