All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
To: linux-bluetooth@vger.kernel.org
Cc: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Subject: [PATCH 2/2] android/gatt: Minor coding style fix
Date: Wed, 18 Jun 2014 14:58:54 +0200	[thread overview]
Message-ID: <1403096334-23297-2-git-send-email-jakub.tyszkowski@tieto.com> (raw)
In-Reply-To: <1403096334-23297-1-git-send-email-jakub.tyszkowski@tieto.com>

---
 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


  reply	other threads:[~2014-06-18 12:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-18 12:58 [PATCH 1/2] android/gatt: Fix not freeing discover_srvc_data Jakub Tyszkowski
2014-06-18 12:58 ` Jakub Tyszkowski [this message]
2014-06-18 13:40 ` Szymon Janc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1403096334-23297-2-git-send-email-jakub.tyszkowski@tieto.com \
    --to=jakub.tyszkowski@tieto.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.