From: Emeltchenko Andrei <Andrei.Emeltchenko.news@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH hcidump 1/2] make struct features available for others
Date: Thu, 6 Oct 2011 16:38:11 +0300 [thread overview]
Message-ID: <1317908292-29104-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> (raw)
From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
---
parser/l2cap.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/parser/l2cap.c b/parser/l2cap.c
index c2ac10e..c975374 100644
--- a/parser/l2cap.c
+++ b/parser/l2cap.c
@@ -61,10 +61,12 @@ static cid_info cid_table[2][CID_TABLE_SIZE];
#define DCID cid_table[1]
/* Can we move this to l2cap.h? */
-static struct {
+struct features {
char *name;
int flag;
-} l2cap_features[] = {
+};
+
+static struct features l2cap_features[] = {
{ "Flow control mode", L2CAP_FEAT_FLOWCTL },
{ "Retransmission mode", L2CAP_FEAT_RETRANS },
{ "Bi-directional QoS", L2CAP_FEAT_BIDIR_QOS },
--
1.7.4.1
next reply other threads:[~2011-10-06 13:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-06 13:38 Emeltchenko Andrei [this message]
2011-10-06 13:38 ` [PATCH hcidump 2/2] decode fixed channel list info rsp Emeltchenko Andrei
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=1317908292-29104-1-git-send-email-Andrei.Emeltchenko.news@gmail.com \
--to=andrei.emeltchenko.news@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox