diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2003-03-21 14:13:46 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2003-03-21 14:13:46 +0000 |
commit | 8ab4acd91521e11b769c8b1d2c89a40cf9077396 (patch) | |
tree | 43de8b7daf1a2118938e61338928c1c97be6729f | |
parent | a942007d8dcf712b7b764b11ee95d7675d9dbc73 (diff) |
Use R1 for default value of pscan_rep_mode
-rw-r--r-- | src/hci.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -703,11 +703,12 @@ int hci_create_connection(int dd, const bdaddr_t *ba, uint16_t ptype, uint16_t c create_conn_cp cp; struct hci_request rq; - memset(&cp, 0, sizeof(cp)); - bacpy(&cp.bdaddr, ba); - cp.pkt_type = ptype; - cp.clock_offset = clkoffset; - cp.role_switch = rswitch; + memset(&cp, 0, sizeof(cp)); + bacpy(&cp.bdaddr, ba); + cp.pkt_type = ptype; + cp.pscan_rep_mode = 0x01; + cp.clock_offset = clkoffset; + cp.role_switch = rswitch; memset(&rq, 0, sizeof(rq)); rq.ogf = OGF_LINK_CTL; |