Searched refs:vacant_key (Results 1 – 1 of 1) sorted by relevance
1031 struct bt_mesh_cdb_app_key *vacant_key = NULL; in bt_mesh_cdb_app_key_alloc() local1041 if (key->net_idx != BT_MESH_KEY_UNUSED || vacant_key) { in bt_mesh_cdb_app_key_alloc()1045 vacant_key = key; in bt_mesh_cdb_app_key_alloc()1048 if (vacant_key) { in bt_mesh_cdb_app_key_alloc()1049 vacant_key->net_idx = net_idx; in bt_mesh_cdb_app_key_alloc()1050 vacant_key->app_idx = app_idx; in bt_mesh_cdb_app_key_alloc()1053 return vacant_key; in bt_mesh_cdb_app_key_alloc()