summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_conn.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2011-12-01 14:33:27 +0200
committerGustavo F. Padovan <padovan@profusion.mobi>2011-12-03 08:27:58 +0900
commitd095c1ebd43a43c1d78055ff111f464b04f8624e (patch)
tree9bac3cbfc9da1155c0f7cad65dc150c339d9d429 /net/bluetooth/hci_conn.c
parent5c69b0ada634bca4111fcc332df5fad2447ec90f (diff)
downloadop-kernel-dev-d095c1ebd43a43c1d78055ff111f464b04f8624e.zip
op-kernel-dev-d095c1ebd43a43c1d78055ff111f464b04f8624e.tar.gz
Bluetooth: Remove magic bluetooth version numbers
Use bluetooth names instead of BT SIG assigned numbers Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/hci_conn.c')
-rw-r--r--net/bluetooth/hci_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c
index de0b93e..b328ac6 100644
--- a/net/bluetooth/hci_conn.c
+++ b/net/bluetooth/hci_conn.c
@@ -123,7 +123,7 @@ static void hci_acl_connect_cancel(struct hci_conn *conn)
BT_DBG("%p", conn);
- if (conn->hdev->hci_ver < 2)
+ if (conn->hdev->hci_ver < BLUETOOTH_VER_1_2)
return;
bacpy(&cp.bdaddr, &conn->dst);
OpenPOWER on IntegriCloud