diff options
-rw-r--r-- | net/bluetooth/hci_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 0aa392406629..25ed6d3de410 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c | |||
@@ -5306,6 +5306,7 @@ void hci_update_background_scan(struct hci_dev *hdev) | |||
5306 | if (!test_bit(HCI_UP, &hdev->flags) || | 5306 | if (!test_bit(HCI_UP, &hdev->flags) || |
5307 | test_bit(HCI_INIT, &hdev->flags) || | 5307 | test_bit(HCI_INIT, &hdev->flags) || |
5308 | test_bit(HCI_SETUP, &hdev->dev_flags) || | 5308 | test_bit(HCI_SETUP, &hdev->dev_flags) || |
5309 | test_bit(HCI_AUTO_OFF, &hdev->dev_flags) || | ||
5309 | test_bit(HCI_UNREGISTER, &hdev->dev_flags)) | 5310 | test_bit(HCI_UNREGISTER, &hdev->dev_flags)) |
5310 | return; | 5311 | return; |
5311 | 5312 | ||