From: Marcel Holtmann Date: Thu, 31 Oct 2013 19:17:58 +0000 (-0700) Subject: android: Don't use abort() for exit X-Git-Tag: android-x86-4.4-r3~7046 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=86267e88a582c3266ffd802b17652370dc06c264;p=android-x86%2Fexternal-bluetooth-bluez.git android: Don't use abort() for exit --- diff --git a/android/main.c b/android/main.c index 8d93644a2..57d5a8491 100644 --- a/android/main.c +++ b/android/main.c @@ -539,7 +539,7 @@ static void read_version_complete(uint8_t status, uint16_t length, if (mgmt_version < 1) { error("Version 1.0 or later of management interface required"); - abort(); + return; } mgmt_send(mgmt_if, MGMT_OP_READ_COMMANDS, MGMT_INDEX_NONE, 0, NULL,