From f9fac7100b08e24509fdc6f12ea9c34e28876586 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 17 Jan 2012 11:47:59 +0100 Subject: [PATCH] btio: Remove support for hciX source addresses --- btio/btio.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/btio/btio.c b/btio/btio.c index 0d177a3a..a45a9cc3 100644 --- a/btio/btio.c +++ b/btio/btio.c @@ -33,8 +33,6 @@ #include #include #include -#include -#include #include @@ -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 *));