diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2004-03-31 16:48:38 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2004-03-31 16:48:38 +0000 |
commit | 4d97c2497c2bee809432ea3e48676fa61538bbef (patch) | |
tree | fda89d735266e5b16826ff1aeee516ddfe904732 /src/hci.c | |
parent | 542fc57346fbb329934152f446f58cc61a5d5d00 (diff) |
Use R2 for default value of pscan_rep_mode
Diffstat (limited to 'src/hci.c')
-rw-r--r-- | src/hci.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |