static void _on_cmux_channel_setup(guint channel_id,
TcoreHal *hal, gpointer user_data)
{
- TcorePlugin *plugin;
TcoreHal *phy_hal;
if ((hal == NULL) || (user_data == NULL))
return;
}
phy_hal = user_data;
- plugin = tcore_hal_ref_plugin(hal);
- dbg("Channel ID: [%d] Logical HAL: [0x%x]", channel_id, hal);
+ dbg("Channel ID: [%d] Logical HAL: [0x%x] Physical HAL: [0x%x]", channel_id, hal, phy_hal);
/* Assign specifc Core Object types to the Logical HAL (CMUX Channel) */
_assign_objects_to_hal(channel_id, hal);
/* Track the state of CP */
state = vnet_get_cp_state(fd);
dbg("CP State: [%d]", state);
+ close(fd);
+
if (state != VNET_CP_STATE_ONLINE) {
err("CP is NOT yet Online!!!");
return -1;