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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux