summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/hciconfig.c5
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)