OSDN Git Service

android: Don't use abort() for exit
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 31 Oct 2013 19:17:58 +0000 (12:17 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 31 Oct 2013 19:36:09 +0000 (12:36 -0700)
android/main.c

index 8d93644..57d5a84 100644 (file)
@@ -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,