From d2d54085a53160a802edd42febc44c60393ae4c9 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 13 Jan 2004 05:53:10 +0100 Subject: [PATCH] [Bluetooth] Use R2 for default value of pscan_rep_mode The only possible default value for pscan_rep_mode, if there is no entry in the inquiry cache, can be R2. --- net/bluetooth/hci_conn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index dca73e34a16f2..132ce9982783d 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c @@ -71,7 +71,7 @@ void hci_acl_connect(struct hci_conn *conn) memset(&cp, 0, sizeof(cp)); bacpy(&cp.bdaddr, &conn->dst); - cp.pscan_rep_mode = 0x01; + cp.pscan_rep_mode = 0x02; if ((ie = inquiry_cache_lookup(hdev, &conn->dst)) && inquiry_entry_age(ie) <= INQUIRY_ENTRY_AGE_MAX) { -- 2.53.0