diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2016-07-05 14:30:14 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2016-07-09 20:37:13 +0200 |
commit | ca8bee5dde1f02c2dbe8c8453dce27f2dfafb21c (patch) | |
tree | 79ca6c942f1c5e618ac7363edaa549466c9b1b61 /net/bluetooth/hci_conn.c | |
parent | Bluetooth: Remove controller device attributes (diff) | |
download | linux-ca8bee5dde1f02c2dbe8c8453dce27f2dfafb21c.tar.xz linux-ca8bee5dde1f02c2dbe8c8453dce27f2dfafb21c.zip |
Bluetooth: Rename HCI_BREDR into HCI_PRIMARY
The HCI_BREDR naming is confusing since it actually stands for Primary
Bluetooth Controller. Which is a term that has been used in the latest
standard. However from a legacy point of view there only really have
been Basic Rate (BR) and Enhanced Data Rate (EDR). Recent versions of
Bluetooth introduced Low Energy (LE) and made this terminology a little
bit confused since Dual Mode Controllers include BR/EDR and LE. To
simplify this the name HCI_PRIMARY stands for the Primary Controller
which can be a single mode or dual mode controller.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/hci_conn.c')
-rw-r--r-- | net/bluetooth/hci_conn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index bf9f8a801a2e..3809617aa98d 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c @@ -625,7 +625,7 @@ struct hci_dev *hci_get_route(bdaddr_t *dst, bdaddr_t *src) list_for_each_entry(d, &hci_dev_list, list) { if (!test_bit(HCI_UP, &d->flags) || hci_dev_test_flag(d, HCI_USER_CHANNEL) || - d->dev_type != HCI_BREDR) + d->dev_type != HCI_PRIMARY) continue; /* Simple routing: |