OSDN Git Service

android: Fix error handling in adapter_ready
authorSzymon Janc <szymon.janc@tieto.com>
Fri, 8 Nov 2013 14:00:59 +0000 (15:00 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 8 Nov 2013 14:15:06 +0000 (16:15 +0200)
commit0d45c38c0028b1874afd13b3c080069e225ef5cf
tree5e67be9b6fd896c3249c637d459c5b4969f0f002
parentc93a3fc89f5a77526c7dcd6a5a84bdd90eedfd9c
android: Fix error handling in adapter_ready

On error negative value is passed to adapter_ready callback. This fix
passing negative error code to strerror.
android/main.c