--- android/gatt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android/gatt.c b/android/gatt.c index 7dd37ab..30328b9 100644 --- a/android/gatt.c +++ b/android/gatt.c @@ -3773,8 +3773,9 @@ static void handle_server_register(const void *buf, uint16_t len) if (app) { ev.server_if = app->id; ev.status = GATT_SUCCESS; - } else + } else { ev.status = GATT_FAILURE; + } memcpy(ev.uuid, cmd->uuid, sizeof(ev.uuid)); -- 2.0.0 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html