Linux bluetooth development
 help / color / mirror / Atom feed
From: Zhenhua Zhang <zhenhua.zhang@intel.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH 7/8] btio: include bluetooth.h to use devid2ba
Date: Thu, 19 Aug 2010 22:21:15 +0800	[thread overview]
Message-ID: <1282227676-15381-8-git-send-email-zhenhua.zhang@intel.com> (raw)
In-Reply-To: <1282227676-15381-1-git-send-email-zhenhua.zhang@intel.com>

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


  parent reply	other threads:[~2010-08-19 14:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-19 14:21 [PATCH 0/8] Clean up Obex btio.[ch] and make it self contained Zhenhua Zhang
2010-08-19 14:21 ` [PATCH 1/8] btio: Remove blank line at EOF Zhenhua Zhang
2010-08-19 14:21 ` [PATCH 2/8] btio: Seperate btio.[ch] into btio directory Zhenhua Zhang
2010-08-19 14:21 ` [PATCH 3/8] btio: Remove SCO/L2RAW related code Zhenhua Zhang
2010-08-19 14:21 ` [PATCH 4/8] btio: Replace void * with gpointer Zhenhua Zhang
2010-08-19 14:21 ` [PATCH 5/8] btio: Remove unused bt_io_set function Zhenhua Zhang
2010-08-19 14:21 ` [PATCH 6/8] btio: Add bluetooth.[ch] helper functions Zhenhua Zhang
2010-08-19 14:21 ` Zhenhua Zhang [this message]
2010-08-19 14:21 ` [PATCH 8/8] btio: Remove libbluetooth dependence for obexd Zhenhua Zhang
2010-08-20 11:39 ` [PATCH 0/8] Clean up Obex btio.[ch] and make it self contained Luiz Augusto von Dentz
2010-08-23  1:13   ` Zhang, Zhenhua

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=1282227676-15381-8-git-send-email-zhenhua.zhang@intel.com \
    --to=zhenhua.zhang@intel.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