From 4d97c2497c2bee809432ea3e48676fa61538bbef Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 31 Mar 2004 16:48:38 +0000 Subject: Use R2 for default value of pscan_rep_mode --- src/hci.c | 4 ++-- 1 file 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; -- cgit