case B_EVENT_DROP:
if (!b_port)
FATAL("bchannel must be linked to a Port class\n");
- mISDNport->b_remote[i] = 0;
switch(state)
{
case B_STATE_IDLE:
state = B_STATE_ACTIVATING;
}
}
+ } else
+ {
+ /* not exported anymore */
+ mISDNport->b_remote[i] = 0;
}
break;
if (p_m_mISDNport->b_state[p_m_b_index] != B_STATE_IDLE)
bchannel_event(p_m_mISDNport, p_m_b_index, B_EVENT_DROP, 0);
p_m_mISDNport->b_port[p_m_b_index] = NULL;
- p_m_mISDNport->b_remote[p_m_b_index] = 0;
p_m_b_index = -1;
p_m_b_channel = 0;
p_m_b_exclusive = 0;