|
@@ -1415,7 +1415,8 @@ static int hci_dev_do_open(struct hci_dev *hdev)
|
|
atomic_set(&hdev->cmd_cnt, 1);
|
|
atomic_set(&hdev->cmd_cnt, 1);
|
|
set_bit(HCI_INIT, &hdev->flags);
|
|
set_bit(HCI_INIT, &hdev->flags);
|
|
|
|
|
|
- if (hci_dev_test_flag(hdev, HCI_SETUP)) {
|
|
|
|
|
|
+ if (hci_dev_test_flag(hdev, HCI_SETUP) ||
|
|
|
|
+ test_bit(HCI_QUIRK_NON_PERSISTENT_SETUP, &hdev->quirks)) {
|
|
hci_sock_dev_event(hdev, HCI_DEV_SETUP);
|
|
hci_sock_dev_event(hdev, HCI_DEV_SETUP);
|
|
|
|
|
|
if (hdev->setup)
|
|
if (hdev->setup)
|