diff options
author | Szymon Janc <szymon.janc@gmail.com> | 2014-01-08 01:02:22 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-01-09 17:54:57 +0200 |
commit | 231ac1cab96dadd32d46430ee1d9f8a930f5a6bd (patch) | |
tree | 2224c4c538829b74a60925ca41acc049f865f027 /plugins/sixaxis.c | |
parent | f8754ec28b47ccf9e044ef0a20df47f7e1df78a3 (diff) | |
download | bluez-231ac1cab96dadd32d46430ee1d9f8a930f5a6bd.tar.gz |
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.
Diffstat (limited to 'plugins/sixaxis.c')
-rw-r--r-- | plugins/sixaxis.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |