diff options
Diffstat (limited to 'tools/hciconfig.c')
-rw-r--r-- | tools/hciconfig.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c index 53ffec89..3e7a5fbc 100644 --- a/tools/hciconfig.c +++ b/tools/hciconfig.c @@ -253,11 +253,6 @@ static void cmd_up(int ctl, int hdev, char *opt) hdev, strerror(errno), errno); exit(1); } - if (ioctl(ctl, HCIGETDEVINFO, (void *) &di) < 0) - return; - if (hci_test_bit(HCI_RAW, &di.flags)) - return; - cmd_scan(ctl, hdev, "piscan"); } static void cmd_down(int ctl, int hdev, char *opt) |