Diff between 56ad27f2893abf971761b2dd5806eb43fc2cf821 and 355770caa64936e2798586dd13f45a919221bd0f

Changed Files

File Additions Deletions Status
android/gatt.c +1 -1 modified

Full Patch

diff --git a/android/gatt.c b/android/gatt.c
index bdbb43b..d958965 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);
 }