[PATCH] Don't set LE flags in mgmt_start_discovery()

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

 



Since LE based discovery procedures are not yet supported, we should
not set the LE flags in mgmt_start_discovery(). Otherwise, we might
get an error from management interface.
---
 plugins/mgmtops.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index b9e9ad6..d28f89c 100644
--- a/plugins/mgmtops.c
+++ b/plugins/mgmtops.c
@@ -1689,8 +1689,6 @@ static int mgmt_start_discovery(int index)
 	hdr->index = htobs(index);
 
 	hci_set_bit(MGMT_ADDR_BREDR, &cp->type);
-	hci_set_bit(MGMT_ADDR_LE_PUBLIC, &cp->type);
-	hci_set_bit(MGMT_ADDR_LE_RANDOM, &cp->type);
 
 	if (write(mgmt_sock, buf, sizeof(buf)) < 0)
 		return -errno;
-- 
1.7.7.1

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