--- plugins/hciops.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/plugins/hciops.c b/plugins/hciops.c index 5775cf1..b38c056 100644 --- a/plugins/hciops.c +++ b/plugins/hciops.c @@ -175,12 +175,6 @@ static void init_device(int index) goto fail; } - if (hci_devinfo(index, &di) < 0) - goto fail; - - if (hci_test_bit(HCI_RAW, &di.flags)) - goto done; - done: hci_close_dev(dd); exit(0); -- 1.7.0 -- David Scherba Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. -- 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