sixaxis: Throw an error when cable setup fails
authorBastien Nocera <hadess@hadess.net>
Fri, 7 Jun 2019 06:54:11 +0000 (08:54 +0200)
committerhimanshu <h.himanshu@samsung.com>
Tue, 11 Feb 2020 08:57:47 +0000 (14:27 +0530)
commitdb63a7dd1f2a33ca52a3dc043804a2fe38d11680
tree1ddaf4191746e5246e9ea20c6341f084d04712ec
parent402e5fa2b77d09ca20495547ecf715e7af0277cd
sixaxis: Throw an error when cable setup fails

If btd_request_authorization_cable_configured() fails, throw an error
and free resources.

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