diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-01-17 11:47:59 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-01-17 11:47:59 +0100 |
commit | 1d7a0c6997c94a09087a7fc6c509db9f0a18db8c (patch) | |
tree | 162650d863793234607b36920746a6728e97c5c7 /btio/btio.c | |
parent | e9109fc7aeee6aed6c89343e5ed718e0b70529e3 (diff) | |
download | bluez-1d7a0c6997c94a09087a7fc6c509db9f0a18db8c.tar.gz |
btio: Remove support for hciX source addresses
Diffstat (limited to 'btio/btio.c')
-rw-r--r-- | btio/btio.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/btio/btio.c b/btio/btio.c index 0d177a3ab..a45a9cc33 100644 --- a/btio/btio.c +++ b/btio/btio.c @@ -33,8 +33,6 @@ #include <bluetooth/l2cap.h> #include <bluetooth/rfcomm.h> #include <bluetooth/sco.h> -#include <bluetooth/hci.h> -#include <bluetooth/hci_lib.h> #include <glib.h> @@ -691,10 +689,7 @@ static gboolean parse_set_opts(struct set_opts *opts, GError **err, switch (opt) { case BT_IO_OPT_SOURCE: str = va_arg(args, const char *); - if (strncasecmp(str, "hci", 3) == 0) - hci_devba(atoi(str + 3), &opts->src); - else - str2ba(str, &opts->src); + str2ba(str, &opts->src); break; case BT_IO_OPT_SOURCE_BDADDR: bacpy(&opts->src, va_arg(args, const bdaddr_t *)); |