diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2011-03-22 12:40:18 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-12-17 23:53:03 +0100 |
commit | ec6a4aed06bafa77701cc817daebec0ce99c2485 (patch) | |
tree | 8b2e4da0c07d270dfddb472a4002f6083eb0e51a /tools/parser/att.c | |
parent | f0c49c016508b5e2a3319f1375129d8f339cbc25 (diff) | |
download | bluez-ec6a4aed06bafa77701cc817daebec0ce99c2485.tar.gz |
hcidump: Minor coding style fixes to ATT parser code
Diffstat (limited to 'tools/parser/att.c')
-rw-r--r-- | tools/parser/att.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/tools/parser/att.c b/tools/parser/att.c index 329a0dcc9..7b8b83cee 100644 --- a/tools/parser/att.c +++ b/tools/parser/att.c @@ -341,9 +341,8 @@ static void att_find_by_type_req_dump(int level, struct frame *frm) p_indent(level, frm); printf("value"); - while (frm->len > 0) { + while (frm->len > 0) printf(" 0x%2.2x", get_u8(frm)); - } printf("\n"); } @@ -429,9 +428,8 @@ static void att_read_blob_resp_dump(int level, struct frame *frm) p_indent(level, frm); printf("value"); - while (frm->len > 0) { + while (frm->len > 0) printf(" 0x%2.2x", get_u8(frm)); - } printf("\n"); } @@ -451,9 +449,8 @@ static void att_read_multi_resp_dump(int level, struct frame *frm) p_indent(level, frm); printf("values"); - while (frm->len > 0) { + while (frm->len > 0) printf(" 0x%2.2x", get_u8(frm)); - } printf("\n"); } @@ -488,9 +485,8 @@ static void att_handle_notify_dump(int level, struct frame *frm) p_indent(level, frm); printf("value "); - while (frm->len > 0) { + while (frm->len > 0) printf("0x%.2x ", get_u8(frm)); - } printf("\n"); } |