diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-03-13 19:04:17 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-03-13 19:35:45 +0300 |
commit | eacb44dff98559d4682072c0061e1ecb63687e9c (patch) | |
tree | 5634cae7658ca3029b8d56426086d5fa6f7e7299 /net/bluetooth/hci_event.c | |
parent | 6576fe4afc1203d27a5f4c8f5511f44203f4e333 (diff) | |
download | linux-eacb44dff98559d4682072c0061e1ecb63687e9c.tar.xz |
Bluetooth: Use DECLARE_BITMAP for hdev->dev_flags field
The hdev->dev_flags field has outgrown itself on 32-bit systems. So
instead of hacking around it, switch to using DECLARE_BITMAP.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r-- | net/bluetooth/hci_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 4958b24ae5c7..c7376cd42b1c 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c @@ -198,7 +198,7 @@ static void hci_cc_reset(struct hci_dev *hdev, struct sk_buff *skb) return; /* Reset all non-persistent flags */ - hdev->dev_flags &= ~HCI_PERSISTENT_MASK; + hci_dev_clear_volatile_flags(hdev); hci_discovery_set_state(hdev, DISCOVERY_STOPPED); |