summaryrefslogtreecommitdiffstats
path: root/src/hci.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-03-31 16:48:38 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-03-31 16:48:38 +0000
commit4d97c2497c2bee809432ea3e48676fa61538bbef (patch)
treefda89d735266e5b16826ff1aeee516ddfe904732 /src/hci.c
parent542fc57346fbb329934152f446f58cc61a5d5d00 (diff)
Use R2 for default value of pscan_rep_mode
Diffstat (limited to 'src/hci.c')
-rw-r--r--src/hci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hci.c b/src/hci.c
index 8100d227..3778f064 100644
--- a/src/hci.c
+++ b/src/hci.c
@@ -734,7 +734,7 @@ int hci_create_connection(int dd, const bdaddr_t *ba, uint16_t ptype, uint16_t c
memset(&cp, 0, sizeof(cp));
bacpy(&cp.bdaddr, ba);
cp.pkt_type = ptype;
- cp.pscan_rep_mode = 0x01;
+ cp.pscan_rep_mode = 0x02;
cp.clock_offset = clkoffset;
cp.role_switch = rswitch;
@@ -847,7 +847,7 @@ int hci_read_remote_name(int dd, const bdaddr_t *ba, int len, char *name, int to
memset(&cp, 0, sizeof(cp));
bacpy(&cp.bdaddr, ba);
- cp.pscan_rep_mode = 0x01;
+ cp.pscan_rep_mode = 0x02;
memset(&rq, 0, sizeof(rq));
rq.ogf = OGF_LINK_CTL;