sixaxis: Fix another problem with already setup devices
authorBastien Nocera <hadess@hadess.net>
Fri, 7 Jun 2019 06:54:10 +0000 (08:54 +0200)
committerhimanshu <h.himanshu@samsung.com>
Tue, 11 Feb 2020 08:57:47 +0000 (14:27 +0530)
commit402e5fa2b77d09ca20495547ecf715e7af0277cd
tree45f59ebe6cb53d2df80f786bf955a6061bd65760
parent8968f2b6c307e0df416c8b0a016dc3595d55c5d3
sixaxis: Fix another problem with already setup devices

If the device went through any kind of pairing once, it might have been
set as trusted. Make sure to set the device as untrusted before starting
the cable pairing authorization so that we don't exit early from
process_auth_queue() (which considers trusted devices to be paired).

Change-Id: I14812c9ff7738767d84c867553b4572870faea84
Signed-off-by: himanshu <h.himanshu@samsung.com>
plugins/sixaxis.c