Skip to content

Commit

Permalink
mesh/proxy: Fix connection handle when disconnected
Browse files Browse the repository at this point in the history
  • Loading branch information
freddie authored and rymanluk committed Jan 15, 2019
1 parent 0f3e7fa commit 66850c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nimble/host/mesh/src/proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 66850c8

Please sign in to comment.