You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/01/15 18:18:27 UTC
[mynewt-nimble] Diff for: [GitHub] rymanluk merged pull request #289:
mesh/proxy: Fix connection handle when disconnected
diff --git a/nimble/host/mesh/src/proxy.c b/nimble/host/mesh/src/proxy.c
index 46e1ce9b..a31e1991 100644
--- a/nimble/host/mesh/src/proxy.c
+++ b/nimble/host/mesh/src/proxy.c
@@ -641,7 +641,7 @@ static void proxy_disconnected(uint16_t conn_handle, int reason)
bt_mesh_pb_gatt_close(conn_handle);
}
- client->conn_handle = 0;
+ client->conn_handle = BLE_HS_CONN_HANDLE_NONE;
break;
}
}
With regards,
Apache Git Services