OSDN Git Service

android/hidhost: Fix uhid create failure case
authorRavi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
Tue, 12 Nov 2013 09:47:19 +0000 (11:47 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 12 Nov 2013 13:26:52 +0000 (15:26 +0200)
commitff9e27b9de956c7b8255e8aa5174ae334f9d6593
tree320914615e5ad869565c39d50bcee3e41c07eda4
parent19f49964b57d4d7b636395921e934dcd79684ea0
android/hidhost: Fix uhid create failure case

If uhid open or create fails then notify state and free the device.
Otherwise it replies bogus success return value on connect request.
android/hidhost.c