mesh: testing: Fix check if subnet is allocated

This commit is contained in:
Michał Narajowski
2018-04-10 12:34:41 +02:00
parent 31663a042a
commit a0180206df
+1 -1
View File
@@ -133,7 +133,7 @@ void bt_test_print_credentials(void)
for (i = 0; i < MYNEWT_VAL(BLE_MESH_SUBNET_COUNT); ++i)
{
if (bt_mesh.app_keys[i].net_idx == BT_MESH_KEY_UNUSED) {
if (bt_mesh.sub[i].net_idx == BT_MESH_KEY_UNUSED) {
continue;
}