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/02/12 12:37:12 UTC

[GitHub] michal-narajowski commented on a change in pull request #341: Additional Fix For Handling conn_handle=0

michal-narajowski commented on a change in pull request #341: Additional Fix For Handling conn_handle=0
URL: https://github.com/apache/mynewt-nimble/pull/341#discussion_r255933560
 
 

 ##########
 File path: nimble/host/mesh/src/proxy.c
 ##########
 @@ -808,8 +808,8 @@ void bt_mesh_proxy_gatt_disconnect(void)
 	for (i = 0; i < ARRAY_SIZE(clients); i++) {
 		struct bt_mesh_proxy_client *client = &clients[i];
 
-		if (client->conn_handle && (client->filter_type == WHITELIST ||
-					    client->filter_type == BLACKLIST)) {
+		if ((client->conn_handle != BLE_HS_CONN_HANDLE_NONE) && (client->filter_type == WHITELIST || 
 
 Review comment:
   The line is too long here, otherwise looks good

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services