From: Anderson Lizardo <anderson.lizardo@openbossa.org>
To: linux-bluetooth@vger.kernel.org
Cc: Anderson Lizardo <anderson.lizardo@openbossa.org>
Subject: [PATCH BlueZ 2/2] mgmtops: Add SET_LE/SET_SSP command complete handling
Date: Thu, 23 Feb 2012 11:58:27 -0400 [thread overview]
Message-ID: <1330012707-32536-2-git-send-email-anderson.lizardo@openbossa.org> (raw)
In-Reply-To: <1330012707-32536-1-git-send-email-anderson.lizardo@openbossa.org>
This avoids "Unknown command complete for opcode <nn>" errors.
---
plugins/mgmtops.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index 91b4a22..84d9adc 100644
--- a/plugins/mgmtops.c
+++ b/plugins/mgmtops.c
@@ -1185,6 +1185,12 @@ static void mgmt_cmd_complete(int sk, uint16_t index, void *buf, size_t len)
case MGMT_OP_SET_PAIRABLE:
mgmt_new_settings(sk, index, ev->data, len);
break;
+ case MGMT_OP_SET_SSP:
+ DBG("set_ssp complete");
+ break;
+ case MGMT_OP_SET_LE:
+ DBG("set_le complete");
+ break;
case MGMT_OP_ADD_UUID:
DBG("add_uuid complete");
break;
--
1.7.5.4
next prev parent reply other threads:[~2012-02-23 15:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-23 15:58 [PATCH BlueZ 1/2] mgmtops: Handle "Class Of Device Changed" event Anderson Lizardo
2012-02-23 15:58 ` Anderson Lizardo [this message]
2012-02-23 20:41 ` [PATCH BlueZ 2/2] mgmtops: Add SET_LE/SET_SSP command complete handling Johan Hedberg
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=1330012707-32536-2-git-send-email-anderson.lizardo@openbossa.org \
--to=anderson.lizardo@openbossa.org \
--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;
as well as URLs for NNTP newsgroup(s).