From 355770caa64936e2798586dd13f45a919221bd0f Mon Sep 17 00:00:00 2001 From: Jakub Tyszkowski Date: Tue, 10 Feb 2015 13:48:13 +0100 Subject: [PATCH] android/gatt: Remove reduntant comparison 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 bdbb43bb2..d958965e6 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); } -- 2.47.3