diff options
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 de0b93e45980..b328ac611ccd 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) | |||
123 | 123 | ||
124 | BT_DBG("%p", conn); | 124 | BT_DBG("%p", conn); |
125 | 125 | ||
126 | if (conn->hdev->hci_ver < 2) | 126 | if (conn->hdev->hci_ver < BLUETOOTH_VER_1_2) |
127 | return; | 127 | return; |
128 | 128 | ||
129 | bacpy(&cp.bdaddr, &conn->dst); | 129 | bacpy(&cp.bdaddr, &conn->dst); |