Diff between f881e165ec09b45ff683bac4e5c84db66025a9ac and 62041e0a4d36c7bd958039913447e25666235a2e

Changed Files

File Additions Deletions Status
emulator/bthost.c +1 -1 modified

Full Patch

diff --git a/emulator/bthost.c b/emulator/bthost.c
index 5afc11e..d18ca49 100644
--- a/emulator/bthost.c
+++ b/emulator/bthost.c
@@ -974,7 +974,7 @@ static bool l2cap_conn_req(struct bthost *bthost, struct btconn *conn,
 							le16_to_cpu(psm));
 
 		memset(&conf_req, 0, sizeof(conf_req));
-		conf_req.dcid = rsp.dcid;
+		conf_req.dcid = rsp.scid;
 
 		l2cap_sig_send(bthost, conn, BT_L2CAP_PDU_CONFIG_REQ, 0,
 						&conf_req, sizeof(conf_req));