Thread (11 messages) 11 messages, 2 authors, 2010-08-23

[PATCH 7/8] btio: include bluetooth.h to use devid2ba

flat view
STALE5905d

From: Zhenhua Zhang <hidden>
Date: 2010-08-19 14:21:15
Subsystem: the rest · Maintainer: Linus Torvalds

---
 btio/btio.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/btio/btio.c b/btio/btio.c
index eaf61c1..62efcb3 100644
--- a/btio/btio.c
+++ b/btio/btio.c
@@ -32,6 +32,7 @@
 
 #include <glib.h>
 
+#include "bluetooth.h"
 #include "btio.h"
 
 #define ERROR_FAILED(gerr, str, err) \
@@ -576,7 +577,7 @@ static gboolean parse_set_opts(struct set_opts *opts, GError **err,
 		case BT_IO_OPT_SOURCE:
 			str = va_arg(args, const char *);
 			if (strncasecmp(str, "hci", 3) == 0)
-				hci_devba(atoi(str + 3), &opts->src);
+				devid2ba(atoi(str + 3), &opts->src);
 			else
 				str2ba(str, &opts->src);
 			break;
-- 
1.7.0.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help