diff options
author | Jakub Tyszkowski <jakub.tyszkowski@tieto.com> | 2015-02-10 13:48:13 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2015-02-11 11:37:28 +0100 |
commit | 355770caa64936e2798586dd13f45a919221bd0f (patch) | |
tree | baf91161a43f94ff0f239e1daede69cba5f068fd /android/gatt.c | |
parent | 56ad27f2893abf971761b2dd5806eb43fc2cf821 (diff) | |
download | bluez-355770caa64936e2798586dd13f45a919221bd0f.tar.gz |
android/gatt: Remove reduntant comparison
This is not needed as we only have one type or the other.
Diffstat (limited to 'android/gatt.c')
-rw-r--r-- | android/gatt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |