This is not needed as we only have one type or the other. --- android/gatt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/gatt.c b/android/gatt.c index 7b924af..9be750a 100644 --- a/android/gatt.c +++ b/android/gatt.c @@ -881,7 +881,7 @@ static void notify_app_connect_status(struct app_connection *conn, if (conn->app->type == GATT_CLIENT) send_client_connect_status_notify(conn, status); - else if (conn->app->type == GATT_SERVER) + else send_server_connection_state_notify(conn, !status); } -- 1.9.1 -- 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