summaryrefslogtreecommitdiffstats
path: root/src/hci.c
diff options
context:
space:
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;