linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ] mgmtops: Add CANCEL_PAIR_DEVICE command complete handling
@ 2012-02-29 19:57 Anderson Lizardo
  2012-03-01  2:05 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Anderson Lizardo @ 2012-02-29 19:57 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Anderson Lizardo

This avoids the "Unknown command complete for opcode 26" error.
---
 plugins/mgmtops.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index 95fbe8b..42a8a1f 100644
--- a/plugins/mgmtops.c
+++ b/plugins/mgmtops.c
@@ -1326,6 +1326,9 @@ static void mgmt_cmd_complete(int sk, uint16_t index, void *buf, size_t len)
 	case MGMT_OP_LOAD_LINK_KEYS:
 		DBG("load_link_keys complete");
 		break;
+	case MGMT_OP_CANCEL_PAIR_DEVICE:
+		DBG("cancel_pair_device complete");
+		break;
 	case MGMT_OP_UNPAIR_DEVICE:
 		DBG("unpair_device complete");
 		break;
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH BlueZ] mgmtops: Add CANCEL_PAIR_DEVICE command complete handling
  2012-02-29 19:57 [PATCH BlueZ] mgmtops: Add CANCEL_PAIR_DEVICE command complete handling Anderson Lizardo
@ 2012-03-01  2:05 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-03-01  2:05 UTC (permalink / raw)
  To: Anderson Lizardo; +Cc: linux-bluetooth

Hi Lizardo,

On Wed, Feb 29, 2012, Anderson Lizardo wrote:
> This avoids the "Unknown command complete for opcode 26" error.
> ---
>  plugins/mgmtops.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)

Applied. Thanks.

Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-01  2:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-29 19:57 [PATCH BlueZ] mgmtops: Add CANCEL_PAIR_DEVICE command complete handling Anderson Lizardo
2012-03-01  2:05 ` Johan Hedberg

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