summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2011-10-27 15:32:01 +0800
committerAndy Green <andy.green@linaro.org>2011-10-27 15:32:01 +0800
commit62289e309953b922e152dc5ad0db846b0ed002db (patch)
tree62add6e58440f3f4fafc922aeed3a5bcdd6ca3d2
parentde8059903069ac941a88e086fa641ad06d065c96 (diff)
net bluetooth mgt add 0 packet type on hci_connect
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--net/bluetooth/mgmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
index 5a94eec06ca..f4cfd89ee54 100644
--- a/net/bluetooth/mgmt.c
+++ b/net/bluetooth/mgmt.c
@@ -1354,10 +1354,10 @@ static int pair_device(struct sock *sk, u16 index, unsigned char *data, u16 len)
entry = hci_find_adv_entry(hdev, &cp->bdaddr);
if (entry)
- conn = hci_connect(hdev, LE_LINK, &cp->bdaddr, sec_level,
+ conn = hci_connect(hdev, LE_LINK, 0, &cp->bdaddr, sec_level,
auth_type);
else
- conn = hci_connect(hdev, ACL_LINK, &cp->bdaddr, sec_level,
+ conn = hci_connect(hdev, ACL_LINK, 0, &cp->bdaddr, sec_level,
auth_type);
if (IS_ERR(conn)) {