|
@@ -194,7 +194,7 @@ static void hci_cc_reset(struct hci_dev *hdev, struct sk_buff *skb)
|
|
|
clear_bit(HCI_RESET, &hdev->flags);
|
|
|
|
|
|
/* Reset all non-persistent flags */
|
|
|
- hdev->dev_flags &= ~(BIT(HCI_LE_SCAN) | BIT(HCI_PERIODIC_INQ));
|
|
|
+ hdev->dev_flags &= ~HCI_PERSISTENT_MASK;
|
|
|
|
|
|
hdev->discovery.state = DISCOVERY_STOPPED;
|
|
|
hdev->inq_tx_power = HCI_TX_POWER_INVALID;
|