diff options
Diffstat (limited to 'drivers/bluetooth/hci_ldisc.c')
-rw-r--r-- | drivers/bluetooth/hci_ldisc.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c index 4426bb552bd9..af761dc434f6 100644 --- a/drivers/bluetooth/hci_ldisc.c +++ b/drivers/bluetooth/hci_ldisc.c | |||
@@ -46,11 +46,6 @@ | |||
46 | 46 | ||
47 | #include "hci_uart.h" | 47 | #include "hci_uart.h" |
48 | 48 | ||
49 | #ifndef CONFIG_BT_HCIUART_DEBUG | ||
50 | #undef BT_DBG | ||
51 | #define BT_DBG( A... ) | ||
52 | #endif | ||
53 | |||
54 | #define VERSION "2.2" | 49 | #define VERSION "2.2" |
55 | 50 | ||
56 | static int reset = 0; | 51 | static int reset = 0; |
@@ -399,8 +394,8 @@ static int hci_uart_register_dev(struct hci_uart *hu) | |||
399 | 394 | ||
400 | hdev->owner = THIS_MODULE; | 395 | hdev->owner = THIS_MODULE; |
401 | 396 | ||
402 | if (reset) | 397 | if (!reset) |
403 | set_bit(HCI_QUIRK_RESET_ON_INIT, &hdev->quirks); | 398 | set_bit(HCI_QUIRK_NO_RESET, &hdev->quirks); |
404 | 399 | ||
405 | if (hci_register_dev(hdev) < 0) { | 400 | if (hci_register_dev(hdev) < 0) { |
406 | BT_ERR("Can't register HCI device"); | 401 | BT_ERR("Can't register HCI device"); |